dev
Download
35 lines 551 BGroffModified 2025-11-29 raw
1234567891011121314151617181920212223242526272829303132333435
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.ceil 3 2025-11-29 "Tomo man-pages"
.SH NAME
Num.ceil \- ceiling function
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.ceil\ :\ func(x:\ Num\ ->\ Num)
.fi
.SH DESCRIPTION
Rounds a number up to the nearest integer.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx
l l l.
Name	Type	Description
x	Num	The number to be rounded up. 
.TE
.SH RETURN
The smallest integer greater than or equal to `x`.

.SH EXAMPLES
.EX
assert (3.2).ceil() == 4
.EE
.SH SEE ALSO
.BR Tomo-Num (3)