See Re^2: Perl with precision (octal). 000.76 is interpreted as 000 . 76 where 000 is treated as octal and becomes just 0.
Concatenation makes both sides strings so you end up with '0' . '76', which when multiplied becomes numeric as just 76 ...
In reply to Re^3: Perl with precision
by BrowserUk
in thread Perl with precision
by AlienSpaces
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |