PFC 6.0
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 6.0 documentation
»
Scripting
»
FISH
Scripting
»
FISH
Functions
»
⇐
math.rshift
|
math.sin
⇒
Was this helpful? ...
PFC 6.0
©
2019,
Itasca
Updated: Nov 19, 2021