Difference between revisions of "LlAbs"
Jump to navigation
Jump to search
m (LlAbs moved to LSL Function llAbs: Get rid of the first capital letter) |
m (LSL Function llAbs moved to LlAbs: revert, use {{lowercase}} template in such situations) |
(No difference)
|
Revision as of 19:44, 24 January 2007
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.