DecimalSep
The decimal separator defined replaces the decimal symbol set by your regional settings.
Qlik Sense automatically interprets text as numbers whenever a recognizable number pattern is encountered. The ThousandSep and DecimalSep system variables determine the makeup of the patterns applied when parsing text as numbers. The ThousandSep and DecimalSep variables set the default number format pattern when visualizing numeric content in front-end charts and tables. That is, it directly impacts the Number formatting options for any front end expression.
Assuming a thousand separator of comma ‘,’ and a decimal separator of ‘.’, these are examples of patterns that would be implicitly converted to numeric equivalent values:
0,000.00
0000.00
0,000
These are examples of patterns that would remain unchanged as text; that is, not converted to numeric:
0.000,00
0,00
Syntax:
DecimalSep
Example | Result |
---|---|
Set DecimalSep='.'; | Sets ‘.’ as the decimal separator. |
Set DecimalSep=','; | Sets ‘,’ as the decimal separator. |
Regional settings
Unless otherwise specified, the examples in this topic use the following date format: MM/DD/YYYY. The date format is specified in the SET DateFormat statement in your data load script. The default date formatting may be different in your system, due to your regional settings and other factors. You can change the formats in the examples below to suit your requirements. Or you can change the formats in your load script to match these examples. For more information, see Modifying regional settings for apps and scripts.
Default regional settings in apps are based on the user profile. These regional format settings are not related to the language displayed in the Qlik Cloud user interface. Qlik Cloud will be displayed in the same language as the browser you are using.
If you are an app creator, you can set the default region for apps you create. For more information, see Setting your preferred regional settings for creating apps and scripts in Qlik Cloud Analytics.