LlFabs/de
From Second Life Wiki
| LSL Portal | | | Funktionen | | | Ereignisse | | | Typen | | | Konstanten | | | Flow Control | | | Script Library | | | Tutorials |
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

