August 27th, 2006
In Lingo I’m sure you are used to seeing things such as this in the message window:
the floatPrecision = 4
The first example is due to division of integers. In a math class 3/4 should not be equal to 0. In the latter example you are left with extra zeros due to the floatPrecision. In both cases I wouldn’t want my output text to show either of those values. I’d really like it to show 0.75.
This looks much better to the part of my brain that thinks in math. Using
Click to view example (pop up window)
Download this example (zip file, 100k)