PRECVAL

PRECVAL returns a FIXED BINARY(31) value giving the precision for a numeric expression.

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

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