When setting a variable to 2/3, scratch shows 0.7.
Sorry, but from a mathematical point of view this is wrong.
Strictly speaking, 0.67 or anything similar is still wrong, but would be much better
than 0.7.
Giving the user the option to adjust the number of digits that are shown would
be a good thing.
Offline
If you want to show a fraction without it automatically setting, maybe you should try the spaces?
2 / 3
Mathematically speaking, rounding it would give you the right answer so it is correct. Scratch only has support for one decimal digit though, that's why.
Last edited by kayybee (2011-10-26 00:28:41)
Offline