use Devel::Peek; Dump($int); Dump($number);
That will show whether $int and $number are being stored as IVs (as they obviously should be) or NVs.
-sam
In reply to Re: Insights sought into floating point division strangeness
by samtregar
in thread Insights sought into floating point division strangeness
by EvdB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |