It *almost* works. I'll have to play around with it, but the input
"100000.50" returns "1e+06" (i.e., converts out of float). Its sooo
close,
though…
Hmm. You could try to separate the number into two portions with
componentsSeparatedByString (using the proper decimal as the
separator). Then, run the round-trip algorithm on the decimal portion.
Finally, glue it back to the original whole number value.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden