Re: String - Numeric conversion

2002-11-08 Thread Allison Randal
[diverting to p6-doc] Luke Palmer wrote: As for your documentation plan, I think it's a good idea, though I concur with Dan on Just Do It. Document the language for what best makes sense now. If there are *big* issues, ask Larry et al. on this list. For the little ones, use common sense

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?