Action Statement
Change the precision for displaying floating point values.
change precision to PRECISION
PRECISION
An integer value representing an integer from 0 to 16 (inclusive). Round the value after PRECISION digits to the right of the decimal point.
Description
If you change the precision to 0, the decimal point will be displayed with zero digits to its right. Note that the precision statement does not affect the precision at which the value is stored, only the precision at which the value is displayed.
Example
response to NewDisplay
change precision to 4
response to NewDisplay
change precision to New_Precision_IV
See Also
precision Environment Declaration