Recent Posts

Force division to be floating point with Python

>>> from __future__ import division
>>> a = 4
>>> b = 6
>>> c = a / b
>>> c
0.66666666666666663


No comments:

Post a Comment