The NLS_NUMERIC_CHARACTERS environment setting is used to specify how numeric data is stored in the Oracle database. Because HxGN SDx Server processes the numeric data as invariant, NLS_NUMERIC_CHARACTERS should be used with the Oracle client software on the application server to indicate "." as the decimal separator and "," as the group separator, as shown below:
NLS_NUMERIC_CHARACTERS = “.,”
This setting allows all clients to localize the data for their regional and language settings while ensuring that the underlying numeric data gets into the database in the format required by the database's invariant culture setting.
Not using this setting in an implementation where numeric formats vary can lead to the Oracle error "ORA-01722: Invalid Number" when trying to create or update an object that contains a float value with a decimal point. For example, the value 1,234,567.89 on an English (UK) system would be formatted as 1.234.567,89 on a German system. To avoid this error, the Oracle client session on the HxGN SDx application server should use the NLS_NUMERIC_CHARACTERS = “.,” setting.
Log on to Windows Server as an administrator.
Open Control Panel > System > Advanced system settings.
Click Environment Variables.
Create a new system variable:
Variable name: NLS_NUMERIC_CHARACTERS
Variable value: .,
Click OK to dismiss all windows.
Recycle all application pools for HxGN SDx, or restart IIS on the server.
This setting can also be added in the Windows registry by creating a new key, NLS_NUMERIC_CHARACTERS, at HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/KEY_OraHome and setting the value to ".," as shown above.
We recommend that only experienced administrators edit registry settings.