Create a format locale. This object provides information on the symbols for decimal points, group (thousands) seperator, group sizes, currency symbols, and numerals to be used in formatting numbers.
fmt_locale(decimal_mark = ".", grouping_mark = ",", grouping = 3, currency = c("$", ""), numerals = NULL, inf_mark = "Inf", na_mark = "NA", nan_mark = "NaN") fmt_default_locale()
Inf
).NA
).NaN
).An object of class `"fmt_locale"`, which is a named list with elements: `decimal`, `thousands`, `grouping`, `currency`, and `numerals` (optional).
The function `fmt_default_locale` returns the default locale. The defaults are chosen to match R (i.e. US English).
The default locale is set with the option, `fivemat.fmt_default_locale`.