%f and decimal places
%f and decimal places
- Subject: %f and decimal places
- From: Francisco Tolmasky <email@hidden>
- Date: Fri, 25 Jul 2003 01:27:24 -0700
How do you truncate when using formatted strings and %f?
Currently I have 10.0, and it shows 10.00000. How do I tell it to just
show the first decimal place?
Thank you,
Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.