To have a UILabel print out a price float with 2 decimal places you'll want to cast a string with to except a float with 2 decimal places.
August 31st, 2009 | XCode, iPhone Apps, iPhone Development
iPhone How to: UItextField Value to Show Float with Zeros
179
0 comments ↓
If you found this post useful click the share this button. Contribute below by adding a comment, no registration is required.
DCE Related Posts
A function that validates user has inputted text into the UITextField and executes a submission function on the iPhone using Xcode on Required Fields Read Full Article...
Comparing strings in the iPhone SDK with UITextfield values Read Full Article...
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment