In [2]:
0.1 + 0.2


Out[2]:
0.30000000000000004

In [3]:
0.1 + 0.2 - 0.3


Out[3]:
5.551115123125783e-17

In [5]:
round (3.7654389, 3)


Out[5]:
3.765

In [6]:
round (3.7656789, 3)


Out[6]:
3.766

Note the round up.


In [7]:
round (3.7456789, 3)


Out[7]:
3.746

Let's try this with 2 decimal places.


In [8]:
round (3.7456789, 2)


Out[8]:
3.75

In [ ]: