Skip to content
Prev 171366 / 398503 Next

1.095e+09 for integers

On Sun, 2009-02-22 at 23:42 -0500, Alexy Khrabrov wrote:
Alexy 

If I understood your problem you have something like this


as.numeric(12345678912345678)
[1] 1.234568e+16

In this case your solution is using format, like this

format(as.numeric(12345678912345678),scientific=FALSE)
[1] "12345678912345678