Any reason why c
shouldn't equal 0.321?
>>> from math import ceil
>>> a = 123.321
>>> b = a % 60
>>> b
3.320999999999998
>>> ceil(b)
4.0
>>> c = ceil(b) - b
>>> c
0.679000000000002
Update:
For anyone wanting to know how I got the value I was looking for:
>>> c = b - floor(b)