Skip to contents

Easy to read formatting for numbers

Usage

nice_format(number, big.mark = ".", decimal.mark = ",")

Arguments

number

numeric

big.mark

"." or ",". Default: "."

decimal.mark

"." or ",". Default: ","

Value

character

Examples

nice_format(pi*1e6)
#> [1] "3.141.592,65"