ProtoFlux:Floor: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Floor (ProtoFlux) to ProtoFlux:Floor: Creating protoflux Namespace
cleanup, match the ceil page
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
|}}
|}}


The '''Floor''' node rounds the input down to the previous integer (towards negative infinity).
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 ==
== Inputs ==
Line 23: Line 23:
=== * (Generic) ===
=== * (Generic) ===
The floor of the input with a matching type. For types with multiple values, each individual value is floored.
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