Skip to content
Prev 205611 / 398506 Next

Strange behaviour of as.integer()

On Jan 7, 2010, at 7:31 AM, Ulrich Keller wrote:

            
From help page for as.integer:
"Non-integral numeric values are truncated towards zero (i.e.,  
as.integer(x) equals trunc(x) there), "
Yes, it works as documented.