DIVD

Divides one decimal integer number by another.

Command Class

TCL-I command.

Syntax

DIVD n m

Syntax Elements

n is a decimal integer number; the dividend.

m is a decimal integer number; the divisor.

Restrictions

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.

Results

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 Numbers

Negative decimal numbers are specified by typing a minus sign immediately prior to the first digit of the number.

Largest Numbers

The largest numbers that this process handles are:

+140,737,488,355,327
-140,737,488,355,327

Examples

:DIVD 100074 25
      4002 24
:DIVD -1000 20
      -50   0