github.com/eliastor/durgaform@v0.0.0-20220816172711-d0ab2d17673e/website/docs/language/functions/signum.mdx (about) 1 --- 2 page_title: signum - Functions - Configuration Language 3 description: The signum function determines the sign of a number. 4 --- 5 6 # `signum` Function 7 8 `signum` determines the sign of a number, returning a number between -1 and 9 1 to represent the sign. 10 11 ## Examples 12 13 ``` 14 > signum(-13) 15 -1 16 > signum(0) 17 0 18 > signum(344) 19 1 20 ```