Decimal Data Type

Syntax

Dim v As Decimal

Group

Data Type

Description

A 96 bit scaled real value (num). 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)

VBA

This language element is not VBA compatible and requires the #Language "WWB-COM" setting.