The set-num-format command changes the currency sign, thousand, and decimal point in an m conversion, at a local or global level. All of these signs must be a single character. The defaults for these are the previous settings.
The local setting overrides the global default setting. No local setting defaults to global setting. Local or global setting can be cancelled by not specifying the currency sign, the thousand mark, and the decimal mark parameters. Logging off cancels the local setting.
Syntax
set-num-format {{cur}/{thou}/{dec}} {(options} |
Parameter(s)
cur |
Currency sign. |
thou |
Thousand mark. |
dec |
Decimal mark. |
(d |
Sets a system-wide default: $/,/. NOTE—The new value initially only applies to the current line issuing the command and the default line. All other lines will recognize the new global setting when they are logged off and then on again. |
port.number |
Specifies the port number to be set. NOTE—If both the port number and a system-wide default are not specified, the current port is implied. |
Any modifications made while set-num-format changes are in effect affect file updates. For example, changing the decimal separator to a comma causes the system to write any fractional values into the file with the comma as the decimal separator (for example, the expression 3/2 is written as 1,5). To avoid this, file data should display in the file in the form of integer values, and displayed through the use of format masks.
NOTE |
These settings can be overwritten with the set-num-format command. When changing the Windows settings, these rules apply:
|
See Also