home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Open 13
/
pcopen13.iso
/
Zip
/
SM34A.ZIP
/
LIBRARY
/
FLOOR.LI
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-03-23
|
170 b
|
6 lines
# floor(x) gives the greatest integer less than or equal to x
# See also: ceiling, round, trunc.
# e.g. floor(3.1) gives 3
floor(x_) := if(isreal(x), round(x-0.5))