percent

Retrieves percentage of a number.

━ Syntax

[float result] percent(float value, float percentage)

━ Usage

local result = vEngine.math.percent(500, 0.5) --Retrieves specified percentage of the value
print(result) --Prints result

Last updated