Name: rtos
Syntax:(rtos
num [mode [prec]])
Description:Returns the real or integer number in the value of a string. The string format is based on the mode and precision that is used.
Note: The precision is based off the Lunits system variable unless
a value is supplied. The Dimzin system variable controls how
trailing and leading zeros are affected.
Mode |
Meaning |
1 |
Scientific |
2 |
Decimal |
3 |
Engineering |
4 |
Architectural |
5 |
Fractional |
Example(s):(rtos 12.25 2)
"12.2500"
(rtos 12 2 2)
"12.00"
(rtos 12.25 5)