Approximate numeric data types
- Last Updated: December 12, 2014
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Approximate numeric data types
Approximate numeric data types are used to define data with a wide range of values and whose precision does not have to be exact.
Syntax
This is the syntax for an approximate data type:
|
Parameters
- REAL
-
Corresponds to a single precision floating‑point number equivalent to the C language float type.
- DOUBLE PRECISION
-
Corresponds to a double precision floating‑point number equivalent to the C language double type.
- FLOAT [ ( precision ) ]
-
Corresponds to a double precision floating‑point number of the given precision, in bytes. By default,
FLOATcolumns have a precision of 8. TheREALdata type is same as aFLOAT(4),and double‑precision is the same as aFLOAT(8).