Floor
Last updated
Last updated
Rounds a number down to the nearest whole integer. This is useful for creating grid-based layouts, calculating complete units, or working with values that must be whole numbers.
value
The number to round down
Number
Yes
value
The input number rounded down to the nearest integer
Number
Drag the Floor node into your graph.
Connect a number (like 4.8
) to the "value" input.
Run the graph—your output will be 4
.
If the input is already a whole number like 13
, the output remains the same 13
.
Use floor when you need to count only complete units or ensure you never exceed a maximum.
Negative numbers are also rounded downward (e.g., -4.3 becomes -5).
Ceil: For rounding up to the nearest integer.
Round: For rounding to the nearest integer (up or down).
Page Indexing: Calculate the current page number based on item count and items per page.
Complete Units: Count only complete units (e.g., whole hours passed).
Max Constraints: Ensure you never exceed a maximum by discarding fractional parts.