Scoped GlideLocale - getGroupingSeparator()

Returns the grouping separator.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The grouping separator.
var locale = GlideLocale.get();var groupingSeparator = locale.getGroupingSeparator();
gs.info( "The grouping separator is " + groupingSeparator);

Output:

The grouping separator is ,