RE: scientific number formatter
RE: scientific number formatter
- Subject: RE: scientific number formatter
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Wed, 12 Feb 2003 13:59:58 -0500
Seems pretty trivial, given that you can use stringWithFormat and %e to do
the formatting. The hard part would be learning how formatters work.
There's example code in Chapter 18 (I think) of Cocoa Programming. You can
download the code from:
http://www.cocoaprogramming.net/Downloads.html
Jonathan
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of olivier
>
Sent: Wednesday, February 12, 2003 12:19 PM
>
To: cocoa apple
>
Subject: scientific number formatter
>
>
>
i need to display number like so: 125E-16
>
>
I looked on the web and could not find any. Does anybody if somebody
>
already implemented one and shared the code somewhere on the web. I'd
>
hate to duplicate somebody else effort.
>
>
Olivier
>
_______________________________________________
>
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.
_______________________________________________
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.