r4strings icon indicating copy to clipboard operation
r4strings copied to clipboard

Small typo in 3.5 format() outputs

Open yifan2wang opened this issue 5 years ago • 0 comments

  1. nsmall is the minimum number of digits to the right of the decimal point instead of digits

digits The number of digits to the right of the decimal place. The original code is at Line 202 in r4strings/printing.Rmd

In the last output example of argument big.mark, the output is printed as "1.23e+08", which should be "123,456,789" instead.

# big.mark
format(123456789, big.mark = ",")
#> [1] "1.23e+08"

The original code is at Line 243 in r4strings/printing.Rmd

yifan2wang avatar Nov 30 '20 14:11 yifan2wang