LlAbs
Revision as of 16:13, 24 January 2007 by Danger Pugilist (talk | contribs) (LlAbs moved to LSL Function llAbs: Get rid of the first capital letter)
llAbs - Returns the absolute value of the integer passed to it
Syntax:
integer llAbs( integer val);
Full Functional Description:
This function returns the absolute value passed to it. Basically, it removes the negative sign, on the number if there is one. If the parameter is a positive one, it just returns it
Parameters:
- val - This is a number that you want to find the absolute value of.
Examples:
llSay(0,"The absolute value of -4 is: "+(string)llAbs(-4) );
Caveats:
- None known at this time.