

PRECISIONThe PRECISION statement informs jBASE as to the number of digits of precision it uses after the decimal point in numbers.
COMMAND SYNTAXPRECISION integer
SYNTAX ELEMENTSinteger should be in the range 0 to 9.
NOTESIf the program contains no PRECISION statement then is it is set with a
default precision of 4. A PRECISION statement can be specified any number of times in a source file. Only the most recently defined precision will be active at any one time. Calling programs and external subroutines do not have to be compiled at the same degree of precision, however, any changes to precision in a subroutine will not persist when control returns to the calling program. jBASE uses the maximum degree of precision allowed on the host machine in all mathematical calculations to ensure maximum accuracy. It then uses the defined precision to format the number.
EXAMPLES
will print the value 0.666666 (note truncation not rounding!). 