How to change the format of numeric columns - Cloud


Numeric values within total rows (of numeric table columns) can be formatted to look like currency, percentages, times, or plain numbers with decimal places, thousands, and abbreviations. The app provides the ability to change the format of data using FF and M column types, without changing the actual data itself. This helps to keep the format consistent even if the format of the provided data is not. The Column types parameter is used to specify what type of formatting is done. 


The formatting options listed on this page can be defined through the Column types parameter within the following macros:


Formatting options


Advanced numeric formatting support is provided using Javascript implemented by the Table Library for Bob Swift Apps with the help of the Numerals.js library (open source, MIT license). A summary of the relevant parts of the Numerals.js documentation is repeated here.


The following example shows how numeric values can be formatted in total rows:


The format can be automatically switch to support various international differences by adding a language parameter to the format.

A list of the languages available and their specification is available here.