byte dance

Results 3 comments of byte dance

> I'm afraid this is just the nasty nature of floats. Here's what happens if you do the same thing in Python: > > ``` > Python 2.7.18 (v2.7.18:8d21aa21f2, Apr...

> Try this, to see the changes applied: > > ``` > { > "round1": sum (.data), > "round2": floor (sum (.data) * 100) / 100, > "roundnum": floor (sum...

> > do we have a decimal type to avoid the precision issue ? > > What precision are you looking for? sorry for the late reply. what I mean...