Menu
I’m trying to parse some text inputs into floats and then add them together, but it isn’t working for some reason….
35.87 and 35.86 are the inputs however when added together they give 71.72999999999999 which makes no sense, is there some weird rounding thing I’m not understanding? But there wouldn’t even be a need for rounding, they add up perfectly to 71.73.
bk13amt=parseFloat(bk13amt.value);
bk7amt=parseFloat(bk7amt.value);
currentnum = bk13amt + bk7amt;
Anyone have any ideas?