Number Data Types

INT, LONGINT, and VASTINT represent varying sizes of numbers and varying storage space usage, but otherwise receive identical treatment by the software. INT, LONGINT, and VASTINT values can contain only digits.

The NUMERIC data type represents numbers stored in character form and may therefore contain a leading sign (+, -) or an embedded decimal point, or both. Spaces are permitted before and after the leading sign, but not between digits.

Number Data Type Characteristics

Data Type


Valid Range
(Significant Digits)

Storage Occupied


Any number

-32768 to 32767

Two bytes


Any number

-2147483647 to 2147483647

Four bytes


Any number

15 significant digits

Eight bytes


Any number

15 digits

One byte per character


Related Topics