Skip to main content

Number Format

You can format date and numbers, by clicking on the airtable fields, inserted the document editor. In the format option, we list some of the commonly used formats for date and number fields. You can also specify your own format. This doc will help you figure out some of the common date time and number syntax.

info

If you want date or currency to be localized, make sure to specify Locale on the right side panel. Make sure to specify TimeZone for date, as the default is UTC.

Components Library

Number Formatโ€‹

๐Ÿ”ข Number Formatting Overviewโ€‹

Number formatting lets you control how numbers appear โ€” with thousands separators, decimal places, currency symbols, percentages, and more. You define how numbers are displayed using special pattern characters.

Commonly used formatsโ€‹

Example OutputPatternDescription
1230Integer without decimals
0012300000Pads with leading zeroes
123.460.00Always two decimal places (rounded)
123.40.0#One or two decimal places
1,234#,##0Thousands separator
1,234.50#,##0.00Thousands + two decimals
$1,234.50$#,##0.00Currency format with symbol
(1,234.50)#,##0.00;(#,##0.00)Accounting style negative numbers
($1,234.50)$#,##0.00;($#,##0.00)Accounting style negative currency
75%0%Percent, no decimals
75.00%0.00%Percent with decimals
0 units0 'units'Appends literal text
$001.20$000.00Currency with padded integer part
$1,234.00ยค#,##0.00Uses currency placeholder

# โ€” Optional digitโ€‹

Displays a digit only if it exists in that position. Extra zeros are not shown.
Pattern: ###
Input: 42 โ†’ Output: 42


0 โ€” Required digitโ€‹

Always displays a digit, padding with zeros if necessary.
Pattern: 000
Input: 5 โ†’ Output: 005


. โ€” Decimal separatorโ€‹

Separates the integer part from the fractional part.
Pattern: 0.00
Input: 1.5 โ†’ Output: 1.50


, โ€” Grouping separatorโ€‹

Defines where digit grouping (e.g., thousands separator) should appear.
Pattern: #,##0
Input: 10000 โ†’ Output: 10,000


% โ€” Percent symbolโ€‹

Multiplies the number by 100 and appends a % sign.
Pattern: 0%
Input: 0.75 โ†’ Output: 75%


ยค โ€” Currency symbol placeholderโ€‹

Replaced with the appropriate currency symbol (based on locale).
Pattern: ยค#,##0.00
Input: 1234.5 โ†’ Output: $1,234.50


'...' โ€” Literal textโ€‹

Encloses characters that should appear exactly as written.
Pattern: 0 'kg'
Input: 5 โ†’ Output: 5 kg


; โ€” Pattern separatorโ€‹

Defines separate formats for positive and negative numbers.
Pattern: +#;-#
Input: -42 โ†’ Output: -42