|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re^7: converting binary to decimalby tybalt89 (Monsignor) |
| on Jul 02, 2025 at 16:30 UTC ( [id://11165532]=note: print w/replies, xml ) | Need Help?? |
|
Are you running a 32-bit perl? It seems your sprintf has a problem with 18 digit numbers.
Try changing $size to 8 or 9. (I don't have a 32-bit perl to test on.)
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||||||||||||