numeric.sgn()

Determines the sign of a number.

numeric.sgn( )

Returns: Number

This function does not take any arguments.

Examples

num = -169;
	writeDump(num.sgn());
	num = 0.59
	writeDump(num.sgn());

See also