Skip to content

ROUND

Rounds the given number to a given number of decimal places

js
ROUND(input_number, precision)

Parameters

  • input_number - The number to be rounded.
  • precision - The number of decimal places to round to. (optional)

Examples

js
ROUND(2.6645, 1)

Result: 2.7