'\" t .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" .TH Num.floor 3 2025-11-29 "Tomo man-pages" .SH NAME Num.floor \- floor function .SH LIBRARY Tomo Standard Library .SH SYNOPSIS .nf .BI Num.floor\ :\ func(x:\ Num\ ->\ Num) .fi .SH DESCRIPTION Rounds a number down to the nearest integer. .SH ARGUMENTS .TS allbox; lb lb lbx l l l. Name Type Description x Num The number to be rounded down. .TE .SH RETURN The largest integer less than or equal to `x`. .SH EXAMPLES .EX assert (3.7).floor() == 3 .EE .SH SEE ALSO .BR Tomo-Num (3)