Documentation moved.This entry is documented with its primary interface. Open the documentation → API/nerdamer APIFunctionnerdamer.roundsrc/index.ts:920nerdamer.round(x: ExpressionInput, n?: ExpressionInput): ExpressionRounds a number to the nth decimal place. If no precision is provided, rounds to the nearest integer.ParametersNameTypeDescriptionxExpressionInputThe expression to round.nExpressionInputThe number of decimal places to round. Defaults to 0.ReturnsExpression — The rounded value of x.Examplesround('3.7').text() // "4" round('2.555', 2).text() // "2.56" round('1/3', 4).text() // "0.3333"