hi all,
i am new to iphone programming
i write following statement
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
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