int <-> float formatters?
int <-> float formatters?
- Subject: int <-> float formatters?
- From: Mark Dawson <email@hidden>
- Date: Tue, 7 Dec 2004 22:32:07 -0800
If I have a number 25.0, I want to display it as "25" (as an integer);
however, if I have the number 25.5, I want to display it as "25.5"
(i.e., as a decimal). Do I have to figure out if I have an "integer"
float, or is there a way of getting a formatter to handle this
automatically for me?
Thanks!
mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden