math.sgn
Syntax
rn
:=
math.sgn
(
n
)
Get the sign. If
n
< 0, then
rn
= -1, otherwise
rn
= 1.
Returns:
rn
- -1 or 1
Arguments:
n
- number
⇄
3DEC 7.0 documentation
»
Scripting
»
FISH
Scripting Reference
»
FISH
Functions
»
⇐
math.rshift
|
math.sin
⇒
Was this helpful? ...
3DEC
©
2019,
Itasca
Updated: Feb 25, 2024