sign

Return

the sign of this value:

  • -1.0 when it is negative

  • 0.0 when it is zero

  • 1.0 when it is positive