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 reply to Re^2: Perl with precision (octal)
by tye
in thread Perl with precision
by AlienSpaces
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |