sizerNumericSizeValue()

Builds a numeric return value for the specified precision and scale values.

Syntax

The method has the following syntax:
uint64 sizerNumericSizeValue(int prec, int scale) const;

Description

The method builds a numeric return value for the calculateSize() method as an int64 (which is a format that the Db2® database engine recognizes) by using the values that are specified in prec and scale.

Throws

The method throws an exception if the return type is not a numeric.