PRECVAL Function

Purpose

Returns the value that represents the precision for a numeric expression. The value returned is a FIXED BINARY(31).

Syntax

PRECVAL(x)

Parameters

x
A numeric expression.

Example

PRECVAL(x) returns 10 when x is declared as FIXED DEC(10,2).

Restrictions

None.