Intel® Fortran Compiler 16.0 User and Reference Guide

OPEN: DECIMAL Specifier

The DECIMAL specifier controls the representation of the decimal symbol for a connection. It takes the following form:

DECIMAL = dmode

dmode

Is a scalar default character expression that evaluates to one of the following values:

'COMMA'

Indicates that a decimal comma should be used for decimal editing mode.

'POINT'

Indicates that a decimal point should be used for decimal editing mode.

The default decimal editing mode is 'POINT'.

You can only use this specifier for a formatted I/O connection.

When the mode is DECIMAL='COMMA', all floating-point output will produce a decimal comma instead of a decimal point, and all floating-point input will expect a decimal comma.

If you specify DECIMAL='COMMA', you must use a semicolon delimiter in list-directed input.

The decimal editing mode can be temporarily changed within a READ or WRITE statement by the corresponding DC and DP edit descriptors.