defaultMoneyFormat (EGL system variable)

The strLib.defaultMoneyFormat system variable specifies the default pattern that EGL uses to convert a MONEY variable to text.

For the rules of that conversion, see formatNumber().

EGL uses the defaultMoneyFormat build descriptor option to set the initial value of strLib.defaultMoneyFormat. For more information on this process, see defaultMoneyFormat (build descriptor option). If you do not establish an initial value, EGL uses an empty string. For more information about COBOL generation, see Default formats in COBOL.

For details on the characteristics of a numeric pattern, see Numeric formatting symbols.

strLib.defaultMoneyFormat has the following characteristics:
Primitive type
STRING
Data length
Varies
Value saved across segments
Yes

Compatibility considerations

Table 1. Compatibility considerations
Platform Issue
JavaScript generation The function strLib.defaultMoneyFormat() is not supported.

Feedback