User's Reference > General > TCL and General User Commands > Command Reference > A > ADDD

Comment on this topic

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 ()

ADDD (TCL) (m604806+addd.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

ADDD

Adds two decimal integer numbers.

Command Class

TCL-I command.

Syntax

ADDD n m

Syntax Elements

n Specifies a decimal integer number.

m Specifies a decimal integer number to be added to n.

Restrictions

Only adds integers. Any decimal point is treated as a space and the numbers to the left and right of it as two separate integers.

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

To add two positive integer numbers:

:ADDD 2 12
     14

To add negative and positive numbers:

:ADDD -2 5000
     4998

RealityV15.0Comment on this topic