Number Data Types


Data TypeDefaultRangeSizeAbr.Comments
Byte 0 to 2551 byte
(8 bits)
 (by) integers often used in conjunction with string operations
Use Long instead
Currency0- 9.2 E+14 to + 9.2 E+148 bytes
(64 bits)
@(c) scaled integer
Use Double instead
Decimal* - 7.9 E+28 to + 7.9 E+2814 bytes (dec) Variant subtype
Must be declared as a Variant and then converted using the CDec function
Double0- 1.8 E+308 to + 4.9 E+3248 bytes
(64 bits)
#(db) double precision floating point used for high accuracy
Integer0- 32,768 to + 32,7672 bytes
(16 bits)
%(i) Use Long instead
Long0- 2.1 E+9 to + 2.1 E+94 bytes
(32 bits)
&(l) long integer
Single0- 1.3 E+38 to + 1.3 E+384 bytes
(32 bits)
!(sng) single precision floating point used when you have fractional numbers
Use Double instead

© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited

PrevNext