LlAbs
Revision as of 20:01, 24 January 2007 by Celierra Darling (talk | contribs) (update example function)
Returns the absolute value of the integer passed to it.
Syntax
integer llAbs(integer number);
- number may be any integer.
Specification
This function returns the absolute value of the number given to it. If the number passed is less than zero, then it will return the opposite of that number. If it is greater than or equal to zero, it will return the number given to it.
Caveats
- None known at this time.
Examples
llSay(0,"The absolute value of -4 is: "+(string)llAbs(-4) );