GUI variables digit limit

Started by msrodrigues2000 on

Topic category: Help with MCreator software

Last seen on 04:13, 19. Jun 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GUI variables digit limit

Is there a way to limit the number of digits of the number shown in the gui? For example I want the variable number that appears to be an integer or be limited to two digits after the dot. I am using global variables.

Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the (round) math…
Sun, 07/05/2020 - 12:51

You can use the (round) math thing just put your 

Variable number in the (round) math thing. 

You will find it in the math blocks. 

They need to add a make number integer option.