Discord
Login
Community
DARK THEME

can someone help fix round function

round() work and I don't know if I'm not using it right..

https://microstudio.io/zammywammy/therandomgame/YMZR2FWZ/ click the roll button a few times and the problem arises, each number stretches out about 10 characters with random strings of numbers and when I try using round() it doesn't work

  num = 6.666666
  num_round = round( num )
  print( num_round )

thanks.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community