SGN

SGN(<x>)

Type: function

数値 <x> の正負を返します。
<x> が正の値（プラス）である場合 1 を返します。
<x> が負の値（マイナス）である場合 -1 を返します。
<x> が 0 の場合 0 を返します。
