Rounding [Software]

posted by Helmut Homepage – Vienna, Austria, 2013-01-06 04:29 (4921 d 07:38 ago) – Posting: # 9792
Views: 15,145

Hi Yung-jin,

❝ Based on ICE 60559's rounding off a '5' standard (go to the even digit), "R 2.15.2: round(125.005, 2) ⇒ 125.00" is correct. Zero is considered as an even digit.


I know – and the heated discussions on the R-Help list as well. :-D
As Detlew mentioned above I don’t expect regulators to be familiar with
round(c(0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5), 0)
[1]  0  2  2  4  4  6  6  8  8 10
*

More (and an answer to your PM) tomorrow.



Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,655 posts in 4,993 threads, 1,572 registered users;
399 visitors (0 registered, 399 guests [including 14 identified bots]).
Forum time: 13:07 CEST (Europe/Vienna)

The real struggle is not between the right and the left
but between the party of the thoughtful
and the party of the jerks.    Jimmy Wales

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5