math. sign
functionimplementedavailable in: camelot
Returns -1 for negative values, 0 for zero, and 1 for positive values.
function math.sign( value: number): numberParameters
| name | type | description |
|---|---|---|
value | number | The value whose sign will be returned. |
Returns
sign · number · The sign of the value.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LuaMathExtensions system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.