getSign

public static double getSign(double get)

This returns the sign (positive/negative) of a number.

Return

returns the sign of the number.

Parameters

get

the number.