Function format() is called with the following values:
trim is set to TRUE,
scientific is set to FALSE,
big.mark is set to the value of big.mark argument,
decimal.mark is set to the value of decimal.mark argument,
other arguments are passed 'as is' to the format function.
argument digits is ignored as it is not the same digits that users
want, this one will be used by format() and not formatC().
To change the digit argument use options(digits=4) instead.
This argument will not be changed because colformat_num()
is supposed to format things roughly as what you see on the R console.
If these functions does not fit your needs, use set_formatter()
that lets you use any format function.