What would be the best way to remove the decimal point from a float number? For instance if I have a float number .2546 I would like to be able to remove the dot and use just the number (int) 2546 for some calculations.
Any idea how to do this?
Maybe, convert to string than remove the first character from the string than convert the string back to an int?