123456789101112131415161718192021222324252627282930313233343536 | '\" t
.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.floor 3 2026-08-27 "Tomo man-pages"
.SH NAME
Num.floor \- round down
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.floor\ :\ func(x:\ Num\ ->\ Num)
.fi
.SH DESCRIPTION
The largest whole number less than or equal to a number.
.SH ARGUMENTS
.TS
allbox;
lb lb lbx
l l l.
Name Type Description
x Num The number to round down.
.TE
.SH RETURN
`x` rounded down.
.SH EXAMPLES
.EX
assert (4.8).floor() == 4
assert (-4.2).floor() == -5
.EE
.SH SEE ALSO
.BR Tomo-Num (3)
|