playMaker

Author Topic: Get Time Info - reduce displayed number count?  (Read 2179 times)

SandstroM

  • Playmaker Newbie
  • *
  • Posts: 7
Get Time Info - reduce displayed number count?
« on: November 18, 2014, 05:10:32 AM »
Hello fellow Playmakers! =) i am using the Get Time Info action, with the option "time in the current state" to be used as a count - up timer to measure how fast the player finishes the level.

It works just fine, but instead of displaying something like 1.4782946 - is there a way to display a more reasonable number such as 1.47?

I have tried every option in the get time action relevant to what i need and all of them display a super accurate number, i just need something simpler for my game.

Thank you :)




600

  • Moderator
  • Hero Member
  • *****
  • Posts: 715
    • Flashing Lights
Re: Get Time Info - reduce displayed number count?
« Reply #1 on: November 19, 2014, 11:33:52 AM »
Hi, you can display a string instead, use float to string action and format it 0.00.
I use like this in GUI :)