Consultor Eletrônico



Kbase P10395: How to change decimal format programmatically ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/31/2005
Status: Unverified

GOAL:

How to change decimal format programmatically ?

GOAL:

How to modify how Progress interpret commas and periods within numeric values ?

FIX:

Use NUMERIC-FORMAT Attribute.
eg: SESSION:NUMERIC-FORMAT = "European"
This attribute applies to SESSION System Handle.
The possible values are "American", "European" or a character string consisting of the thousands separator followed by the decimal point.
This attribute set to "European" provides the same functionality as the European Numeric Format (-E) session parameter.