[R] Something weird

Juan Andres Hernandez jhernandezcabrera at gmail.com
Fri Jun 3 13:03:09 CEST 2016


Can anybody explain me this weird result?
a=3
as.integer(a)
1] 3

a=(3/10)/0.1
a
[1] 3

as.integer(a)
[1] 2

Thank's in advance

Juan A Hernández

	[[alternative HTML version deleted]]



More information about the R-help mailing list