Hello,


How can I round down numeric values with decimals? For example,



> signif(3.896037e+09, digits = 1)

[1] 4e+09



The expected result is 3e+09 (and not 4e+09).



> signif(8.68542378e-10, digits = 1)

[1] 9e-10



The expected result is 8e-10 (and not 9e-10).



Thank you very much for your time.

Have a nice day

Nell


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to