float llFabs(float num)
Returns the absolute
value of a
float. The absolute value of a number is its "
distance" from 0. To put it another way, if
val is positive or 0,
llFAbs returns
val. If
val is negative,
llFAbs returns
val * -1.
Examples of
arguments:
| num | return value |
| -4.0 | 4.0 |
| -3.75 | 3.75 |
| 2.34 | 2.34 |
| 1.203 | 1.203 |
Basically, it kills off the negative
sign of a float. To have this functionality for
integers, it is recommended using
llAbs instead.
Functions |
Math