How to round an float value and convert it into NSInteger value in Iphone sdk?
- by monish
Hi Guys,
I need to round a float value and convert it into NSInteger value.
for example:
float f = 90.909088;
I want the result as 91.
Can any one help to get rid of this.
Anyone's help will be much appreciated.