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.

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


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.