Spec-Zone.ru › 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
number int
list<number> list<int>
range list<number>

Examples

Apply the ceil function to a list of numbers.

> [1.5 2.3 -3.1] | math ceil
╭───┬────╮
│ 0 │  2 │
│ 1 │  3 │
│ 2 │ -3 │
╰───┴────╯

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API