Try this:

sprintf("%d", 1000000000)

On Sat, Aug 22, 2009 at 8:13 PM, Dajiang J. Liu <dajiang....@gmail.com>wrote:

> Dear all,I want to convert a long integer to a string, and for example,
> 100000000
> I used as.character(1000000000) e.g, and it gives me back 1e+???. What I
> want is a exact form, not exponential form. Any ideas how to do it? Thank
> you very much.
> Regards,
> Dajiang
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to