Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small typo in 3.5 format() outputs #7

Open
yifan2wang opened this issue Nov 30, 2020 · 0 comments
Open

Small typo in 3.5 format() outputs #7

yifan2wang opened this issue Nov 30, 2020 · 0 comments

Comments

@yifan2wang
Copy link

yifan2wang commented Nov 30, 2020

  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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant