Thousands Separator (-numsep)
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Thousands Separator (-numsep)
Use Thousands Separator (-numsep) to change the character that represents
a number's thousands separator in formatted text. The default thousands separator is the
comma (,).
| Operating system and syntax | UNIX / Windows |
-numsep
numeric-value
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | — | — | , (comma) | , (comma) |
- numeric-value
- The numeric value of the character that represents the thousands separator.
The AVM converts numeric-value to its character equivalent using the code page corresponding to the Internal Code Page (-cpinternal) startup parameter.
The thousands separator cannot be represented by any of the following:
- The characters
B C D R Z z 0 1 2 3 4 5 6 7 8 9 + - < > ( ) * ? - Any multi-byte character
Note: You can represent the thousands separator with the space character. - The characters
In the following example, -numsep is used to change the thousands
separator in formatted text to an apostrophe (which, in the ISO8859-1 code page, has a
numeric value of 39):
|