Sign

Description

Returns the sign of the argument as -1, 0, or 1 if the argument is negative, zero, or positive, respectively.

Syntax

Sign ( d )

Arguments

d is a double