Dave Tang <d.t...@imb.uq.edu.au> asked:
> Just a quick question, how does Perl interpret something like
> $array[0.7995038473872]?

Just like $array[ int(0.7995038473872) ], i.e. the floating point number is 
coerced into an integer value by cutting off the decimal places.

HTH,
Thomas

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to