Syntactic Confectionery Delight | |
PerlMonks |
Re: number formattingby costas (Scribe) |
on Aug 08, 2001 at 19:28 UTC ( [id://103089]=note: print w/replies, xml ) | Need Help?? |
im doing this: $result = sprintf('%015d', $integer) which when printed to html is: $result = sprintf('%015d', 9789673814172) the answer i get however is 000001443791101 instead of 009789673814172. anyone know what wrong?
In Section
Seekers of Perl Wisdom
|
|