News for hackers. Stuff that matters.
Re:Why does 0.1 and 0.2 = 0.30000000000000004? by Salgat on Wednesday February 08, 2023 @04:35PM (#34715576)
So people understand, Decimal type is not fixed point, but rather is a floating-point type that uses base 10 instead base 2. This means that if you do 1.0/3.0*3.0, you still get 0.999999~.

Example: http://tpcg.io/_A0IXQJ

There are no comments on this comment yet.