Re: String - Numeric conversion

2002-11-07 Thread Damian Conway
Michael Lazzaro wrote: If anyone knows the answer to these two questions, I'd appreciate it. Only Larry knows. But I'm prepared to take an educated guess. 1) What do these do? my int $n = 5; # OK Yes. my int $n = 5.005; # trunc or err? Truncate to 5 with

String - Numeric conversion

2002-11-06 Thread Michael Lazzaro
If anyone knows the answer to these two questions, I'd appreciate it. 1) What do these do? my int $n = 5; # OK my int $n = 5.005; # trunc or err? my int $n = 5.05ff # 5, 0, undef, NaN, or exception? my int $n = fdsjfdf# 0, undef, NaN, or exception? 2) Do

Re: String - Numeric conversion

2002-11-06 Thread Luke Palmer
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Date: Wed, 6 Nov 2002 14:53:37 -0800 From: Michael Lazzaro [EMAIL PROTECTED] X-SMTPD: qpsmtpd/0.12, http://develooper.com/code/qpsmtpd/ If anyone knows the answer to these two questions, I'd appreciate it. 1) What do these do?

Re: String - Numeric conversion

2002-11-06 Thread Piers Cawley
Luke Palmer [EMAIL PROTECTED] writes: Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Date: Wed, 6 Nov 2002 14:53:37 -0800 From: Michael Lazzaro [EMAIL PROTECTED] X-SMTPD: qpsmtpd/0.12, http://develooper.com/code/qpsmtpd/ If anyone knows the answer to these two questions, I'd