System Variables
PRC Precision Currently In Effect
Numeric System Variable
 
Contents Integer, current PRECISION.
 
Description This system variable contains a numeric value (integer) that indicates the current PRECISION in effect (except in scientific notation). This value will be in the range: -1 to 14. The default is 2 (two digits to the right of the decimal point).
If the mode is FLOATINGPOINT, then the value returned is in scientific notation. Either a PRECISION -1 statement or a FLOATINGPOINT directive will activate scientific notation. The PRECISION directive cancels it.
 
See Also 'PD'= System Parameter
PRECISION Directive
PRC( ) Function
 
Examples 0010 PRECISION 14; FLOATING POINT ; LET A=7.1234
0020 PRINT PRC,@(10),A
0030 BEGIN ! Resets A=0, precision=2 (cancels scientific notation)
0040 PRINT PRC,@(10),A
0050 LET A=6.1234
0060 PRINT PRC,@(10),A
-:run
.14E+02 .71234E+01
2 0
2 6.12