Hi again,
 
Mea culpa for not reading help pages before hand - but one would not go there 
when the function syntax is obvious and known .... besides other programming 
languages (for example IDL) with same function do not round to the next even 
number .... so i do get 3 for round(2.5), and i didn't realize that it is 
"normal" for R to give a 2 instead of 3.> Date: Thu, 2 Aug 2007 22:38:49 +0200> 
From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: r-help@stat.math.ethz.ch> 
Subject: Re: [R] - round() strange behaviour> > On Thu, 2 Aug 2007, Monica 
Pisica wrote:> > >> > Hi,> >> > I am getting some strange results using round - 
it seems that it depends if the number before the decimal point is odd or even 
....> >> > For example:> >> > > round(1.5)[1] 2> round(2.5)[1] 2> > While i 
would expect that round(2.5) be 3 and not 2.> >> > Do you have any explanation 
for that?> > Yes: you obviously did not read the man page! Please do.> Z> > > I 
really appreciate your input,> >> > Monica> >> >> > 
_________________________________________________________________> > [[trailing 
spam removed]]> >> > [[alternative HTML version deleted]]> >> > 
______________________________________________> > R-help@stat.math.ethz.ch 
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.> >> >> 
_________________________________________________________________
Messenger Café — open for fun 24/7. Hot games, cool activities served daily. 
Visit now.

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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