convert M and S separately, and just M + S/60. You have a lot of simple solution. I wonder why the idea of "base 60 float" (ok, what I did it is just a base 60 calculation, but it is simpler to interpret as minute, seconds, then thinking about base 60)
-Giacomo Catenazzi
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…