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
⇄
PFC 7.0 documentation
»
Scripting
»
FISH
Scripting Reference
»
FISH
Functions
»
⇐
math.rshift
|
math.sin
⇒
Was this helpful? ...
PFC
©
2021,
Itasca
Updated: Feb 25, 2024