Decimal datatype¶
Include: Built in; no package required.
Decimal is a signed packed BCD decimal type backed by df_decimal_t = bcd_t<16, 16>.
Size¶
17 bytes.
Range¶
16 integral digits plus 16 fractional digits: -9,999,999,999,999,999.9999999999999999 to 9,999,999,999,999,999.9999999999999999.
Example¶
Decimal nAmount
Move 123.456789 to nAmount