Math Round

Math Round will round a number with the specified decimal places

LUX.Math.Round

-- number: int or float
-- DecimalPlaces: number of Decimal Places as int
local Roundednumber = LUX.Math.Round([number], [DecimalPlaces])

Last updated