How to convert a mix number to a whole number?