![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Perl with precision (octal)by tye (Sage) |
on Feb 29, 2012 at 00:04 UTC ( #956805=note: print w/replies, xml ) | Need Help?? |
A start of 0[0-7] means "octal". So 000.76 is simply the same as 000 . 76 which is '076' which becomes just 76 when used as a number. - tye
In Section
Seekers of Perl Wisdom
|
|