Numeric data types can be signed or unsigned numbers. They can be declared as arrays of up to sixteen dimensions, with maximum sizes of 2 GB (2147483647 bytes, 32 bit). The default data for all numeric data types is zero (0). Numeric data types include:
Signed Integers (Char, Short, Long, DLong, WChar)
Unsigned Integers (Byte, Word, DWord, DDWord)
Floating Point (Float, Double)
Dlong and DDWord are 8 byte singed and unsigned integer types only available in ATEasy 5.0.
WChar stands for Wide Character and is a signed integer. WChar is based on the standard character set called Unicode that can represent most characters in any language in the world, plus various symbols (for example, copyright, trademark, etc.).
Floating Point numbers are based on the IEEE (Institute of Electrical and Electronics Engineers) format.
The Float type takes 4 bytes, including a sign bit, an 8-bit excess-127 binary exponent, and a 23-bit mantissa (a number between 1.0 and 2.0), representing a range of 3.4E-38 to 3.4E+38 (either positive or negative). Float provides seven decimal-digits of accuracy.
The Double type takes 8 bytes, including a sign bit, an 11-bit excess-1023 exponent, and a 52-bit mantissa (also a number between 1.0 and 2.0), representing a range of 1.7E-308 to 1.7E+308 (either positive or negative). Double provides 15 digits of accuracy.
Currency is an 8-byte (64-bit), two's complement integer, scaled by 10,000 to give a fixed-point number with 15 digits to the left of the decimal point and 4 digits to the right. This represents a range of +/-922,337,203,685,477.5807. For example, the value of $123.45 ("**") would be represented by the number 1,234,500 in a 64-bit number. Currency is similar to the OLE standard currency data type. Currency values can be exchanged with Visual Basic programs.
The default value for Currency is "$0.00".
You can assign Currency to String and vice versa, for example:
curTotalSales="$112345.00"
str=curTotalSales.