LOTUSSCRIPT LANGUAGE
Syntax
numExpr1 / numExpr2
Elements
numExpr1, numExpr2
The resulting data type is a Double or a Variant of Double.
If either or both operands are NULL expressions, the result is a NULL.
Example
This example contrasts ordinary division with integer division. Integer division rounds, divides, and then drops the fractional part. Because the operands are rounded before division, the result may differ from the integer part of an ordinary division operation.
Print 8 / 5 ' Prints 1.6 Print 8 \ 5 ' Prints 1 Print 16.9 / 5.6 ' Prints 3.01785714285714 Print 16.9 \ 5.6 ' Prints 2
See Also