next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 website
Macaulay2Doc
::
floor(Number)
floor(Number) -- floor function
Synopsis
Function:
floor
Usage:
floor x
Inputs:
x
,
a
number
Outputs:
the greatest integer less than or equal to the number
x
. The imaginary part of a complex number is ignored.
Description
i1 : floor (7.234232131231*10^6) o1 = 7234232
See also
ceiling(Number)
-- ceiling function
truncate(Number)
-- round a number toward zero
Ways to use this method:
"floor(Constant)"
floor(Number)
-- floor function