Skip to content
On this page

tm_signum Function

tm_signum determines the sign of a number, returning a number between -1 and 1 to represent the sign.

Examples

tm_signum(-13)
-1
tm_signum(0)
0
tm_signum(344)
1