The Daily Click ::. Forums ::. Klik Coding Help ::. Force postivie number?
 

Post Reply  Post Oekaki 
 

Posted By Message

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
19th November, 2011 at 04:22:47 -


Is there a simple way to convert a value to a positive value if it is a negative value?

At the moment I am just squaring it, and then square rooting it, but I seem to remember MMF2 has a built in way.

 
n/a

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
19th November, 2011 at 04:28:23 -

absolute value

abs(number)

 
n/a

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
19th November, 2011 at 04:32:11 -

Thank you!

 
n/a

Fordom

Nordanrikets konung

Registered
  12/02/2009
Points
  190

VIP Member
20th November, 2011 at 02:26:31 -





 
This forum is full of trolls and disinfo agents.

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
20th November, 2011 at 09:03:12 -



 
n/a
   

Post Reply



 



Advertisement

Worth A Click