Please enable JavaScript to view this site.

ESL Documentation

Environment Declaration

Change the precision for displaying floating point values.

precision N

N

An integer value representing an integer from 0 to 16 (inclusive).

The default value is 2 (round the value after two digits to the right of the decimal point).

Description

If you specify precision 0, the decimal point will be displayed with zero digits to its right.

Note that the precision environment declaration does not affect the precision at which the value is stored, only the precision at which the value is displayed.

You cannot use the precision declaration inside a response statement.

Example

precision 5

precision MaxPrec

See Also

Values