ProtoFlux:Floor: Difference between revisions

From Resonite Wiki
add floor
 
cleanup, match the ceil page
 
(4 intermediate revisions by 3 users not shown)
Line 12: Line 12:
|}}
|}}


Rounds down to the next whole number.
The '''Floor''' node returns the floor of the input type, or the largest integral value less than or equal to the specified number. This is also known as "rounding towards negative infinity"
 
== Inputs ==
 
=== N (Generic) ===
Numeric value to floor.
 
== Outputs ==
 
=== * (Generic) ===
The floor of the input with a matching type. For types with multiple values, each individual value is floored.
 
== See Also ==
* [https://learn.microsoft.com/en-us/dotnet/api/system.math.floor#system-math-floor(system-decimal) Microsoft documentation for the <code>Math.Floor(Decimal)</code> method].


[[Category:ProtoFlux:Math]]
[[Category:ProtoFlux:Math]]

Latest revision as of 03:38, 5 June 2024

Floor
N
*
Math

The Floor node returns the floor of the input type, or the largest integral value less than or equal to the specified number. This is also known as "rounding towards negative infinity"

Inputs

N (Generic)

Numeric value to floor.

Outputs

* (Generic)

The floor of the input with a matching type. For types with multiple values, each individual value is floored.

See Also