Please enable JavaScript to view this site.

Calculate sign of the specified value: means +1 if value is greater than 0, -1 if value is less than 0 or 0 if value is zero.

Syntax

sign(int value): int

sign(real value): int

value

Source value

Result

Return the calculated value

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC