Decimal Data Type

Group

Data Type

Description

Win32 only. A 96 bit scaled real value. Decimal is not a valid variable type, but Variant variables can contain decimal values (see CDec). A decimal number is of the form: s*m*10^-p where

  • s - sign (+1 or -1)
  • m - mantissa, unsigned binary value of 96 bits (0 to 79,228,162,514,264,337,593,543,950,335)
  • p - scaling power (0 to +28)