long msec...; int sec = Mathf.FloorToInt((float)(msec / 1000L)); int min = 0; while (sec > 60) { min++; sec -= 60; } Count the fails.
@DanReyLop You caught them. It's decompiled C# (shortened for Twitter) for a very popular Japanese mobile game. Song shows 1:60 length.
-
-
@DanReyLop At first I guessed it was a bad rounding issue, but then I looked at the code and cried.pic.twitter.com/Y5mkvh2pmR
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.