W3cubDocs

/Nushell

math ceil for math

Returns the ceil of a number (smallest integer greater than or equal to that number).

Signature

> math ceil {flags}

Input/output types:

input output
list<number> list<int>
number int

Examples

Apply the ceil function to a list of numbers

> [1.52.3-3.1] |math ceil
╭───┬────╮
02
13
2-3
╰───┴────╯

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_ceil.html