Number Data Types
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
Number Data Types
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
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 | Decimals | Valid Range (Significant Digits) | Storage Occupied |
INT | Any number | -32768 to 32767 | Two bytes |
LONGINT | Any number | -2147483647 to 2147483647 | Four bytes |
VASTINT | Any number | 15 significant digits | Eight bytes |
NUMERIC | Any number | 15 digits | One byte per character |
See Also
Data Types and Storage of Values
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5