Syntax

float llFabs( float val );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

float val
Any valid float value

Return value

Returns a float that is the positive version of val.

Examples

default
{
    state_entry()
    {
        llSay(0,"The (Float)absolute value of -4.5 is: "+(string)llFabs(-4.5) );
    }
}
// returns :
// The (Float)absolute value of -4.5 is: 4.500000

Notes

See also

Functions

Articles

Deep notes

Issues