I don’t see a problem with your code. You do not need the .toString() since .toFixed() makes it a string, but this extra method call shouldn’t be a problem.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Can't make multiplication | 6 | 373 | January 25, 2018 | |
| real noob question but what have i done wrong on this button click code.... | 2 | 93 | February 3, 2019 | |
| Input statement not responding | 3 | 136 | March 27, 2019 | |
| onReady() error [SOLVED] | 15 | 1903 | February 25, 2019 | |
| Error code on preview | 1 | 184 | March 31, 2019 |