NUMERIC and DECIMAL

Formats for NUMERIC and DECIMAL data types vary as a function of precision.

The value must be right-padded with zeros to the full scale of the value. The value must also be fully left-padded with zeros, but with binary programming, padding happens automatically. Once the values are padded, the decimal point is removed. For example, 12.34 looks like:
After the value is padded and the decimal point removed, these rules apply:
Related concepts
Binary Load Format and Load Efficiency
Operating System Native Data Types
DATE
TIME
TIMESTAMP
NULL Value Loads