PRECISION Verb - Set Arithmetic Mode Precision

Syntax

PRECISION int

Description

For BBj-specific documentation, see the PRECISION Verb - BBj.

The PRECISION Verb sets the arithmetic mode precision for rounding and output.

Parameter

Description

int

An integer in the range of 0 to 16 (default is 2), or -1 for floating point. The verbs BEGIN, CLEAR, END, LOAD, RUN, START, and STOP set the default precision.

See the FLOATINGPOINT verb and Rounding in the User's Reference Guide for additional information.

Changing the precision does not immediately affect any existing numeric values.

The current PRECISION setting can be determined from the TCB(14) function.

Examples

>PRECISION 16
1000 PRECISION 2
>LET A=TCB(14); PRECISION A

See Also

Verbs - Alphabetical Listing