• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why is "." a decimal number? (NSScanner question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Why is "." a decimal number? (NSScanner question) (From: Jim Rankin <email@hidden>)
 >Re: Why is "." a decimal number? (NSScanner question) (From: Ondra Cada <email@hidden>)

  • Prev by Date: NSXMLParser crashes
  • Next by Date: Re: Is that really a bug at all? (was: Re: Ugly bug in Foundation, beware!)
  • Previous by thread: Re: Why is "." a decimal number? (NSScanner question)
  • Next by thread: Re: Why is "." a decimal number? (NSScanner question)
  • Index(es):
    • Date
    • Thread