Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
::
ceiling(Number)
next
|
previous
|
forward
|
backward
| up |
index
|
toc
ceiling(Number) -- ceiling function
Synopsis
Function:
ceiling
Usage:
ceiling x
Inputs:
x
Outputs:
the least integer greater than or equal to the number
x
. The imaginary part of a complex number is ignored.
Description
i1 : ceiling(-3.4) o1 = -3
See also
floor(Number)
-- floor function
truncate(Number)
-- round a number toward zero
Ways to use this method:
ceiling(Number)
-- ceiling function