Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:Floor: Difference between revisions

From Resonite Wiki
Yosh (talk | contribs)
m the node
Yosh (talk | contribs)
cleanup, match the ceil page
 
(2 intermediate revisions by 2 users 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