The Daily Click ::. Forums ::. Klik Coding Help ::. Simple problem with decimals
 

Post Reply  Post Oekaki 
 

Posted By Message

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
5th February, 2009 at 03:16:30 -

Hello. I need a decimal number to only display the first 2 decimals (ex: 97.97 instead of 97.9754432).

Not used to working with decimals much so bleh. Using mmf2 so it should be built in.

Thanks

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
5th February, 2009 at 03:39:11 -

I assume you're talking about using a counter object?

Select the counter, and look in the properties panel on the left.
Click on the left-most tab.
Tick the box that says "Number of significant digits".
Also tick the box that says "Number of digits after decimal point".
Make sure the box next to it contains the value "2" (which it will by default anyway).

 
n/a

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
10th February, 2009 at 01:53:16 -

ahh I thought I deleted this. I found it, but thanks for the reply. It turns out I didn't have the most up to date mmf so that option wasn't available. Updated and fixed.

Thanks =]

 
n/a
   

Post Reply



 



Advertisement

Worth A Click