LlFabs/de

From Second Life Wiki

Jump to: navigation, search

Funktion: float llFabs( float val );

7 Function ID
0.0 Delay
10.0 Energy

Returns a float that is the positive version of val.

• float val Any valid float value

Beispiele

 
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
 

Siehe auch

Funktionen

•  llAbs integer Variante von llFabs

Artikel

•  Wikipedia:Absolute_value
Personal tools