Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rupesh.swami

macrumors newbie
Original poster
Mar 9, 2009
29
0
hi all,
i am new to iphone programming
i write following statement

Code:
double propertyTax;
propertyTax=[txtPropertyTax.text floatValue];

uitextField txtPropertyTax.text hold the value 1.63 but when i assign it to propertyTax variable then it convert to 1.1629999876022339. how can i resolve this type of conversion without changing data type of PropertyTax
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.