• 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
Formatting @".15g" with NSNumberFormatter?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Formatting @".15g" with NSNumberFormatter?


  • Subject: Formatting @".15g" with NSNumberFormatter?
  • From: Rob Frohne <email@hidden>
  • Date: Mon, 2 Sep 2002 11:20:14 -0700

Hi All,

After some tips that I should look at NSNumberFormatter to make my NSTextFields reject anything but numbers, I'm having a hard time figuring out how to set the format so that it will allow scientific notation when necessary. It seems set up only for financial data. Is there a good way to add my own format, for example, @".15g" or something?

Thanks for all the help!

Rob
--
Rob Frohne, Ph.D., P.E.
E.F. Cross School of Engineering
Walla Walla College
http://www.wwc.edu/~frohro/
_______________________________________________
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.

  • Prev by Date: Re: Tracking files the right way
  • Next by Date: Re: Error_From_Debugger:__No_Source_File_Named...
  • Previous by thread: Re: Tracking files the right way
  • Next by thread: Re: Error_From_Debugger:__No_Source_File_Named...
  • Index(es):
    • Date
    • Thread