Skip to main content

builtin_pretty_num

Function builtin_pretty_num 

Source
fn builtin_pretty_num(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Format numbers with separators for readability (e.g., thousand separators).

@param x character vector (or coerced from numeric) to format @param big.mark character: separator inserted every 3 digits before the decimal point (default “”) @param small.mark character: separator inserted every 3 digits after the decimal point (default “”) @return character vector with separators inserted