Onready Function

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.