use round:

In [10]: round(0.3 / 0.05)
Out[10]: 6.0