Return and optionally change the setting that determines the thousands separation character to be used in numeric-to-string conversion functions.
XSharp.Core (in XSharp.Core.dll) Version: 2.18
Syntax Request Example
FUNCTION SetThousandSep() AS DWORD
public static uint SetThousandSep()
is not specified, SetThousandSep() returns the current setting.
is specified, the previous setting is returned.
Normally, numeric values are displayed without thousands separators, unless you explicitly specify the number using pictured output. Pictured output is achieved using a picture clause, which can be defined with the @...SAY...GET command, the Transform() function, or the FieldSpec:Picture property.
The comma character used in your source code to represent the thousands separator in picture clauses is unaffected by this setting, just as the period used to represent the decimal separator is unaffected by SetDecimalSep().
Therefore, your source code will not change based on these settings, as illustrated in the example below.
Examples See Also