Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Round Editing

The round editing descriptors temporarily change the I/O rounding mode for a connection.

These forms of rounding correspond to the ROUND= specifier values UP, DOWN, ZERO, NEAREST, COMPATIBLE, and PROCESSOR DEFINED, respectively. Rounding conforms to the ISO/IEC 60559:2020 standard.

The I/O rounding mode affects the conversion of real and complex values in formatted I/O. It affects only D, E, EN, ES, EX, F, and G editing.

Each descriptor continues to be in effect until a different round editing descriptor is encountered or until the end of the current I/O statement.