nushell/docs/commands/math_round.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

425 B

title layout version
math round command 0.59.0

Applies the round function to a list of numbers

Signature

> math round --precision

Parameters

  • --precision {number}: digits of precision

Examples

Apply the round function to a list of numbers

> [1.5 2.3 -3.1] | math round

Apply the round function with precision specified

> [1.555 2.333 -3.111] | math round -p 2