I got into a small confusion of numerical calculation.
in C#:
> 44.5 + (((5220886 / 2) - 2496118) / 897211) * 9
< 44.5
in JS:
> 44.5 + (((5220886 / 2) - 2496118) / 897211) * 9
< 45.646803817608124
Which one is correct? Can anyone help me to understand why this is happening?
P.S: Though there is one post in SO which is dealing with C# floats, my question is a little bit different as I am not doing anything with strings. This is pure numerical calculations.