def getPlusMinusSign(number):
 if (number >= 0.0):
  return 1.0
 return (-1.0)

def getPlusMinusSign ( number ) : if ( number >= 0.0 ) : return 1.0 return ( - 1.0 )
get one if the number is zero or positive else negative one .