[R] problem with number formation

2010-01-04 Thread venkata kirankumar
Hi all, this is kiran I got one problem with formating a number that is if I have a number like ---2.33 that one ihave to convert to --2.33000 and if I have a number like ---0.33 that one ihave to convert to --0.33000 is this posible in R-project if its posible please help me to

Re: [R] problem with number formation

2010-01-04 Thread Berend Hasselman
dvkirankumar wrote: Hi all, this is kiran I got one problem with formating a number that is if I have a number like ---2.33 that one ihave to convert to --2.33000 ?sprintf Example: a - 2.33 sprintf(%.5f, a) Berend -- View this message in context: