use Math::BigInt; my $i = Math::BigInt->new('123_456_789_000_000_000_000'); printf qq'%045s\n', $i; __OUTPUT__ 000000000000000000000000123456789000000000000
radiantmatrix
require General::Disclaimer;
s//2fde04abe76c036c9074586c1/; while(m/(.)/g){print substr(' ,JPacehklnorstu',hex($1),1)}
In reply to Re^5: Math::BigInt and Leading Zeros
by radiantmatrix
in thread Math::BigInt and Leading Zeros
by aplonis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |