David L. Nicol wrote:
> First off, I'm going to pound on one of my deceased horses a bit:

I'll add one obligatory thwack with my own barbed flog, David. Hear hear.


> >         my Num    $dec = 4.0;
> >         my Int    $int = $dec;  # Num -> Int okay since 4.0 truncates to 4
> >                                 #     with no(?) information lost
> 
> You have lost information.  You have lost one digit of precision.
> That is not insignificant.

Correction: You have added an infinite number of digits of precision.
Integers have infinite precision.


> This would be a nice thing to have a pragmata for, what hash refs 
> stringify to.

Um, one pragma.


-- 
John Porter

Reply via email to