@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