Since the floating point mantissa is much larger, %f for instance¹ should mitigate the "problem" for some time.
DB<109> $val=12143951645 => "12143951645" DB<110> sprintf("%11.0f", $val); => "12143951645"
Only you can tell us how large your numerical ranges are...
Cheers Rolf
( addicted to the Perl Programming Language)
¹) see also this post for discussion of string template %s
In reply to Re: issue with sprintf..
by LanX
in thread issue with sprintf..
by sathya83aa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |