Data type: Number

The number data type is a primitive data type represented by the number 1 in the database dictionary. A number indicates an amount and can be either a whole number, a positive or negative number, or a floating point number. Enter numbers with an optional sign (+ or -) followed by digits which are optionally followed by a decimal point, then more digits which are optionally followed by the letter E and an exponent.

The following number formats display valid numbers accepted by RAD.

Description Valid literal examples
Integer 1
Negative Integer -1
Fixed Point 32.1
Floating Point 1.257E05

Furthermore, each bullet shows different representations of the same number:

  • 1 = 1.0 = 1E0 = 1.0E0
  • -1 = -1.0 = -1E0 = -1.0E0
  • 32.1 = 32.10 = 3.21E1
  • -32.1 = -32.10 = -3.21E1
  • 1.257E05 = 125700 = 1.25700E5