fastest way to round NSNumber
fastest way to round NSNumber
- Subject: fastest way to round NSNumber
- From: Nick <email@hidden>
- Date: Sun, 02 Mar 2003 00:11:37 -0500
Hello.
I have a NSNumber with a double value whose NSString representation I
want to truncate after the second decimal place... i.e. I have
"90.3000000000001" and I want to have "90.30". I can fix it through
string manipulation. However, I was wondering if there is a faster
method out there to do this?
Nick
_______________________________________________
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.