Number Data Types

Number Data Types

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

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 TypeDecimalsValid Range
(Significant Digits)
Storage Occupied
INTAny number-32768 to 32767Two bytes
LONGINTAny number-2147483647 to 2147483647Four bytes
VASTINTAny number15 significant digitsEight bytes
NUMERICAny number15 digitsOne byte per character

See Also

About Conditional Expressions

Conversion Between Data Types

Data Types and Storage of Values

Data Types and the Use of Database Indexes

How To Use Data Types

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
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese