Data formats

Home | Data menuShow all | About | Examples

About

Allows a user defined format for a column. The format is made up of the the following symbols:

Character  Description
# Placeholder that displays the digit from the value if it is present.
If fewer placeholder characters are used than in the passed number, then the result is rounded.
 
0 Placeholder that displays the digit from the value if it is present.
If no digit is present, 0 (zero) is displayed in its place.
 
. Placeholder for the position of the decimal point.
You must always use a . in the format string, OxonStat will use the correct format for your country.
 
, Placeholder that indicates that the number should be formatted with thousands separators.
You must always use a , in the format string, OxonStat will use the correct thousand symbol for your country.
 
% Displays the number multiplied by 100 followed by the % character.
 
E or e Displays the number in scientific notation.
 
\character Displays the character that follows the backslash. Use this to display a character that is also used in the formatSpec.

Examples

The following examples show typical combinations and the results for example values: