SCALEVAL

SCALEVAL returns a FIXED BINARY(31) value giving the scale factor for a numeric expression.

Read syntax diagramSkip visual syntax diagramSCALEVAL( x)
x
A numeric expression.

If x is FLOAT, the value returned is 0.

For example, if x is declared as FIXED DEC(9,3), SCALEVAL(x) returns 3.