Rounding [Software]

posted by Helmut Homepage – Vienna, Austria, 2013-01-06 04:29 (4505 d 01:54 ago) – Posting: # 9792
Views: 12,598

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,670 registered users;
188 visitors (0 registered, 188 guests [including 2 identified bots]).
Forum time: 07:23 CEST (Europe/Vienna)

Young man, in mathematics you don’t understand things.
You just get used to them.    John von Neumann

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