I’m making a game that requires the user to earn money.
I’m able to display the numbers using:
scoreDisplay.text = gameScore.toFixed(2);
But I cannot seem to create a variable that will add 50 cents or 75 cents to the total and have it display properly.
Does anyone have a solution?