> For the complete documentation index, see [llms.txt](https://docs.luxcoding.de/lux_coding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luxcoding.de/lux_coding/scripts/lux_lib/development/math/math-round.md).

# Math Round

Math Round will round a number with the specified decimal places

## LUX.Math.Round

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