Helper function to format a number with locale-aware decimal separator.
Usage
format_number(
x,
digits = 2L,
locale = get_locale(),
trim = FALSE,
na_string = getOption("pharmhand.na_string", "NA")
)Helper function to format a number with locale-aware decimal separator.
format_number(
x,
digits = 2L,
locale = get_locale(),
trim = FALSE,
na_string = getOption("pharmhand.na_string", "NA")
)