Rounding [Software]

posted by Helmut Homepage – Vienna, Austria, 2013-01-06 04:29 (4556 d 10:09 ago) – Posting: # 9792
Views: 12,930

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,424 posts in 4,927 threads, 1,687 registered users;
46 visitors (0 registered, 46 guests [including 8 identified bots]).
Forum time: 15:38 CEST (Europe/Vienna)

Complex, statistically improbable things are by their nature
more difficult to explain than
simple, statistically probable things.    Richard Dawkins

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