Retrieves percentage of a number.
[float result] percent(float value, float percentage)
local result = vEngine.math.percent(500, 0.5) --Retrieves specified percentage of the value print(result) --Prints result
Last updated 2 years ago