iphone - converting float to integer
- by Mike
This is a simple question:
Is this a correct way to get an integer part from a float division?
int result = myFloat / anInteger;
this is working, but I am not sure if it is the best way.
thanks for any help.