You do a interger division, minutes divided by 60, keeping in mind integers do not use decimal points. The integer result is the hours. Then you do a remainder or Modulus (%) of the minutes by 60 to...
First you need to divide it by 60. That gives 165.6333 rec. From the whole part, we can see there is 165 hours. Multiplying the decimal part back by 60 gives us 38. Therefore 9938 minutes can be...
You basically have to make an equality between two fractions. First, your percentage fraction will always be a variable over 100. The other fraction, your minutes, will be a variable over 60, because...