Why is it when I print/display the result of
eval(\"11.05\") + eval(\"-11\")
it comes out as 0.05000000000000071 instead of the expecte
The function eval is absolutely innocent here. The culprit is floating-point operation. If you do not expect a large number of numbers after the decimal, you may limit. But you can not avoid it.
eval