Rotate and move object with snap gives odd number sometimes

It’s common that I move and rotate using the gizmos and snap options that is supposed to give exact numbers, but it’s not the case always:

Sometimes I rotate the object 90°, for example, but it will actually show 90.000008°. visually, looks the same, as it’s a very small difference, but I wonder it would be noticiable after plenty of those. And it’s just a bit annoying not seeing exact numbers where it should be.

So… why that happens? Is there any way to fix it or I will have to deal with it?