ProtoFlux:Floor: Difference between revisions

From Resonite Wiki
fill in the standard details
cleanup, match the ceil page
 
(3 intermediate revisions by 3 users not shown)
Line 12: Line 12:
|}}
|}}


== Usage ==
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"
Rounds the input down to the next integer (towards negative infinity).


== Inputs ==
== Inputs ==
Line 24: 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