Data editing > Basic elements > Numbers > Real numbers
 
Real numbers
Real numbers are numbers containing decimal points. To be valid, they must have at least one digit on either side of the decimal point:
0.1 and 1.0 are correct.
.1 and 1. are not correct.
Quantum deals with real numbers of any size with accuracy up to six significant figures. Numbers with more than six significant figures have the sixth figure rounded up or down depending on the value of the remaining figures.
By default, Quantum calculates cell values in single precision. However, when working with very large numbers, you can produce more accurate results by using the double precision option (dp) on the a statement.
For more information about double precision, see Hierarchy of the tabulation section.
Examples of rounding
96.82529
rounds to
96.8253
189462.1
rounds to
189462.0
123456.5
rounds to
123457.0
123456.444
rounds to
123456.0
123456.445
rounds to
123456.0
See also
Numbers