defaultNumericFormat (EGL system variable)

The strLib.defaultNumericFormat system variable specifies one of several patterns that can be used to convert a numeric variable to text.

For the rules of that conversion, seeformatNumber().

EGL uses the defaultNumericFormat build descriptor option to set the initial value of strLib.defaultNumericFormat. For more information on this process, see defaultNumericFormat (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.defaultNumericFormat 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.defaultNumericFormat() is not supported.

Feedback