round - Total-RP/Total-RP-3 GitHub Wiki

Rounds a number to a given decimal place

TRP3_API.utils.math.round(value, decimals)

Arguments

  • value: input number
  • decimals: the number of decimal places to round to
⚠️ **GitHub.com Fallback** ⚠️