Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
DIVD (TCL) (m604806+divd.htm)
Divides one decimal integer number by another.
TCL-I command.
DIVD n m
n is a decimal integer number; the dividend.
m is a decimal integer number; the divisor.
Only divides integers. Any decimal point is treated as a space and the numbers to the left and right of it as two separate integers.
The result of the division is displayed on the line immediately below the command. This comprises the quotient (on the left) and the remainder (on the right).
Negative decimal numbers are specified by typing a minus sign immediately prior to the first digit of the number.
The largest numbers that this process handles are:
+140,737,488,355,327
-140,737,488,355,327
:DIVD 100074 25
4002 24
:DIVD -1000 20
-50 0