next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 website
Macaulay2Doc
::
ceiling(Number)
ceiling(Number) -- ceiling function
Synopsis
Function:
ceiling
Usage:
ceiling x
Inputs:
x
,
a
number
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(Constant)"
ceiling(Number)
-- ceiling function