Visual RPG 9.0 Language Reference  

%DECPOS Function - (Get Number of Decimal Positions)

%DECPOS built-in function returns the number of decimal positions of the numeric variable or expression.  The value returned is a constant, and so may participate in constant folding.

%DECPOS (NumericExpression)

Parts

NumericExpression

Required.  Must not be a float variable or expression.

See Also

Built-in Function Overview
%DEC Function