FLOATINGPOINT Verb

Syntax

FLOATINGPOINT

Description

For BBj-specific information, see the FLOATINGPOINT Verb - BBj.

The FLOATINGPOINT verb prevents rounding during arithmetic operations, maintaining maximum (16-digit) precision. PRO/5 outputs numbers through an output verb or STR() function using E notation, if no format mask is given. FLOATINGPOINT terminates, and precision defaults to 2 when the BEGIN, CLEAR, END, LOAD, RESET, RUN, START, or STOP verb is executed.

FLOATINGPOINT is syntactically equivalent to PRECISION -1.

Examples

51000 BEGIN
51010 LET T=999999.99999
51020 PRINT T
51030 FLOATINGPOINT
51040 PRINT T
1000000
.99999999999E+06

See Also

Verbs - Alphabetical Listing