floor(x) rundet die Zahl (x) auf die nächste ganze Zahl ab.

Handhabung

floor(2.1)
[1] 2
floor(2.998)
[1] 2
floor(5.00001)
[1] 5

siehe auch


This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.