How to get rid of the .0 inside of GUI's

Started by woodcraft on Thu, 09/16/2021 - 13:49

Topic category: Help with MCreator software

Last seen on 18:01, 23. Oct 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to get rid of the .0 inside of GUI's
Thu, 09/16/2021 - 13:50 (edited)

Heya, I want to display a int value inside a text block inside of a GUI but I only want full numbers no decimals. How would I do this? Using <VAR:variable> gives me well let's say I set it to 10 it displays 10.0

Edited by woodcraft on Thu, 09/16/2021 - 13:50
Last seen on 18:01, 23. Oct 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
bump
Thu, 09/16/2021 - 15:49

bump

Last seen on 18:01, 23. Oct 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm stupid solved it by…
Thu, 09/16/2021 - 16:15

I'm stupid solved it by adding <VAR:integer:variable> lol