I got
round(0.55,1)
[1] 0.6
round(2.55,1)
[1] 2.5
Your answers are also correct. Please check ?round



Quoting "Korn, Ed (NIH/NCI) [E]" <[EMAIL PROTECTED]>:

Hi,

Round(0.55,1)=0.5

Round(2.55,1)=2.6

Can this be right?

Thanks,

Ed

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.


______________________________________________
R-help@r-project.org mailing list
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