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

Handhabung

ceiling(2.1)
[1] 3
ceiling(2.998)
[1] 3
ceiling(5.00001)
[1] 6

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.