diff options
Diffstat (limited to 'man/man3/tomo-Num.floor.3')
| -rw-r--r-- | man/man3/tomo-Num.floor.3 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/man/man3/tomo-Num.floor.3 b/man/man3/tomo-Num.floor.3 new file mode 100644 index 00000000..8daffc44 --- /dev/null +++ b/man/man3/tomo-Num.floor.3 @@ -0,0 +1,34 @@ +'\" t +.\" Copyright (c) 2025 Bruce Hill +.\" All rights reserved. +.\" +.TH Num.floor 3 2025-04-19T14:30:40.362796 "Tomo man-pages" +.SH NAME +Num.floor \- Rounds a number down to the nearest integer. + +.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. + + +.TS +allbox; +lb lb lbx lb +l l l l. +Name Type Description Default +x Num The number to be rounded down. - +.TE +.SH RETURN +The largest integer less than or equal to `x`. + +.SH EXAMPLES +.EX +>> (3.7).floor() += 3 +.EE |
