Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Math functions (https://forums.graalonline.com/forums/showthread.php?t=134260545)

Jiroxys7 09-15-2010 01:51 AM

Math functions
 
I saw this somewhere else, but I cant seem to find it anymore. I'm looking for a specific math function. the one that converts the number in the parenthesis into a real number (-1 becomes 1, -14 becomes 14, etc)

anyone know what it is? x_x

cbk1994 09-15-2010 02:14 AM

abs(n) is absolute value (distance from zero e.g. makes the number positive). Real numbers are pretty much any numbers you can express without rounding (1, 1/3, -27.132, etc).

Loriel 09-15-2010 09:18 AM

Quote:

Originally Posted by cbk1994 (Post 1600870)
Real numbers are pretty much any numbers you can express without rounding (1, 1/3, -27.132, etc).

itym rational numbers, real numbers are all numbers including irrational numbers, just not complex numbers.

cbk1994 09-15-2010 01:06 PM

Quote:

Originally Posted by Loriel (Post 1600889)
itym rational numbers, real numbers are all numbers including irrational numbers, just not complex numbers.

You're right, my bad.


All times are GMT +2. The time now is 02:08 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.