"text" function creates decimal numbers

I have a variable called “player1Score” in a simple Pong game I am making. “player1Score” is equal to 0 at the beginning, and is set to add 1 when scoring. The text command states “text(player1Score, ~, ~)” when using this, it draws the 0 in the right place, yet it draws it as 0.000, or 1.000 etc… I have not found a way to change this.

1 Like

might be of type float and not type int?

2 Likes