math. normalize
functionimplementedavailable in: camelot
Returns the relative position of a value within a range, where the minimum maps to 0 and the maximum maps to 1.
function math.normalize( value: number, minimum: number, maximum: number): numberParameters
| name | type | description |
|---|---|---|
value | number | The value to normalize. |
minimum | number | The value that maps to 0. |
maximum | number | The value that maps to 1. |
Returns
normalizedValue · number · The normalized value. Values outside the input range produce results outside [0, 1].
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 ↗.