Almost there, but the "%f" says float...
Try:
cheers$num = 999999999; print sprintf("%f\n",$num); print sprintf("%d\n",$num);
In reply to Re: Question on converting big numbers to strings without rounding
by stiller
in thread Question on converting big numbers to strings without rounding
by tmaly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |