Re: Why is "." a decimal number? (NSScanner question)
Re: Why is "." a decimal number? (NSScanner question)
- Subject: Re: Why is "." a decimal number? (NSScanner question)
- From: Ondra Cada <email@hidden>
- Date: Fri, 4 Jun 2004 23:40:04 +0200
Oh, and I forgot:
On 4.6.2004, at 23:25, Ondra Cada wrote:
>
> Why does NSScanner consider "." to be a decimal number?
...
>
I would say that, given the two facts above, the best of all
>
possibilities is indeed to treat "." a zero.
even nicer (and also right, for the same reason) is that "e" is also a
decimal number with a zero value: just try your program with a string
of "eeee" ;))
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.