Skip to content

Sign

Returns the sign of a number.

$ wo 'Sign[5]'
1
$ wo 'Sign[0]'
0
$ wo 'Sign[-7]'
-1