rupesh.swami
Apr 2, 2009, 07:28 AM
hi all,
i am new to iphone programming
i write following statement
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
i am new to iphone programming
i write following statement
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
