Element - ±
- Sign
Characters:
±
Description
Get the sign of a number
Overloads
num
-sign_of(a) (positive = 1, 0 = 0; negative = -1)
str
-is a numeric
Examples
1 ±
=1
-5 ±
=-1
±
- SignCharacters:
±
Get the sign of a number
num
- sign_of(a) (positive = 1, 0 = 0; negative = -1)
str
- is a numeric
1 ±
=
1
-5 ±
=
-1