|
real
The term real describes a
datatype,
or
decimal datatype.
Like all decimal datatypes, the datatype real is also based on the
ANSI
standard.
The datatype real requires four
bytes
of
storage.
Possible values are decimal numbers, with a machine dependent range of values.
Usage of the datatype real
The datatype real is used only if rounded values do no present a problem.
If this is the case, other, more accurate datatypes should be used, because with decimal datatypes it is possible that depending on the method of calculation, numbers after the decimal point are rounded. For example the
ASE
client executable
isql
will only show 6 digits behind the decimal point. All following digits will be rounded up or down.
See also:
float.
|