Functions: Round Function - Wynntils/Wynntils GitHub Wiki

Round function

Aliases

None

Description

Returns the rounded value to specified number of decimals.

Arguments

This function has 2 required arguments.

  • value (Number) → The number to be rounded.
  • decimals (Number) → The number of decimal places.

Schematics

ROUND(<value>; <decimals>) → (Double)

Example

ROUND(12.3612514;2)  12.36
⚠️ **GitHub.com Fallback** ⚠️