example/test_scene: round the second number

This commit is contained in:
Kazhnuz 2019-03-16 15:00:58 +01:00
parent 16df998d84
commit fa92576979
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ function TestScene:draw()
love.graphics.rectangle("fill", 0, 0, 424, 240)
love.graphics.setColor(0, 0, 0, 1)
love.graphics.print(self.i .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16)
love.graphics.print(math.floor(self.i) .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16)
end
return TestScene