For the case of yshow = 0.2000000000, when the code goes through the snippet below, the code inside the if statement is executed, which shouldn't happen in this case. Do you happen to know why this may occur? Thanks.
if (yshow < 0.0 || yshow > 0.2)
content.Format("Please enter a number within limit of %3.1f to %3.1f cm",
MessageBox(content, "Superior/Inferior Edit Box");
overlimit = true;