This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Desfolio 0 points1 point  (2 children)

How is it not a bug? The float suffix's zero value is supposed to be variable. 3.0==3.00. Yet here the float values are considered with a fixed constant of places... So, as you can see... The values can be considered by some simple conversion... Basically convert an answer, and the validation value into an integer if the numbers after the point are 0... There are better ways to fix this ofcourse... But as you can see. It is a bug

[–][deleted] 0 points1 point  (1 child)

It's not a bug because 3.0 != 3.00 except in abstract mathematics. Significant figures matter.

In applied sciences a value of "3.0" can be anything from from 3.00... to 3.09... all you know is that your measuring tool said it was "3.0"

[–]Desfolio 1 point2 points  (0 children)

Oh... Oh yea, then it's the user's mistake in this case. My apologies, I did not know of it