Take Command / TCC Help v. 13.03

@DECIMAL

Hide Navigation Pane

@DECIMAL

Previous topic Next topic No directory for this topic No expanding text in this topic  

@DECIMAL

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@DECIMAL[number]: Returns the portion of number to the right of the Decimal character as an integer numeric string. Trailing zeros are used to pad to the Minimum Precision specified for @EVAL.  For example:

 

 %@decimal[%@eval[1/2]]

 

is 5 if minimum width is 0, and 50000 if minimum width is 5.

 

@DECIMAL will perform an implicit @EVAL on its argument, so you can enter an arithmetic expression (including the @EVAL =min,max format string following the argument).

 

Examples:

function

value

%@decimal[1234]

0

%@decimal[1.234]

234

%@decimal[12.34]

34

 

Comments (...)