For example, I have a textbox that I need to have a Left property of exactly 18.281cm, but as soon as I hit enter, it automatically changes to 18.282cm.
The biggest problem is that the way it changes the number is unpredictable. For example, it seems to only do this with specific numbers since sometimes it leaves the number alone.
Another thing to mention is that the amount it changes the number by varies, it isn’t always an increase of 0.001cm, sometimes it’s even a decrease. Occasionally there are times I can trick it, so if it won’t let me change it to 18.279cm, I can type in 18.280cm and then it automatically changes it to 18.279cm, but this happens rarely.
This problem happens with different controls as well, not only with Left. It also does this with Height and Width just as two more examples. I’ve been trying to search for another instance of this happening, but I can’t find any records of this problem happening to anyone else. Does anybody know how to fix this?
The reason it does this is because the measurement is actually twips
18.280cm is not an exact number of twips, so it counds to the nearest twip
18.280cm = 10363.464566929 twips
10363 twips = 18.279180556cm
10364 twips = 18.280944444cm