I’m really novice to iOS. I have set my float varibles and given values to them for calculating salary
ex:
float hra=34555.444;
float pf=1223.33;
float baseSalary=1222.33
and by using Nsnumber I can calculate the salary too.
I got the ans too. Now I would like to know how to pass these float as parameters which can be changed at runtime. I’m not using any UI so it should be hardcoded.
Any help will be appreciated!
create a method in the class like this
to send value to this method