JS Math.sign() equivalent?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

JS Math.sign() equivalent?

apprentice
Does thymeleaf have a function equivalent to Math.sign()?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign