Revert "Don't fix small values less than .01 to 2 decimal points. This matches 2.0 behavior"

This reverts commit 2770f925fe.
This commit is contained in:
DD Liu 2020-03-19 12:37:34 -04:00
parent 748dbdd241
commit db33da2753

View file

@ -253,7 +253,7 @@ class Scratch3LooksBlocks {
if (text === '') return text;
// Limit decimal precision to 2 digits.
if (typeof text === 'number' && Math.abs(text) >= .01) {
if (typeof text === 'number') {
text = parseFloat(text.toFixed(2));
}