Skip to main content

Round

Round a number to a number of decimal places.

Command in the Number toolkit · id ooa.number/round · 3 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ValueNumberYesNumber to round.
DecimalsNumberNo0Decimal places.
ModeStringNohalf_upRounding mode; half_even is banker's rounding.

Outputs​

OutputTypeWhat it is
resultNumberRounded number.