ProtoFlux:Floor to Int: Difference between revisions

From Resonite Wiki
m the node
cleanup, match ceil to int
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|}}
|}}


The '''Floor To Int''' node acts like [[Floor (ProtoFlux) | Floor]], but will always return an [[Types:Int | int]].
The '''Floor To Int''' node acts like [[ProtoFlux:Floor|Floor]], but will always return an [[Type:int|int]].


== Inputs ==
== Inputs ==


=== N (Generic) ===
=== N (Generic) ===
The numeric type to floor.
Numeric value to floor.


== Outputs ==
== Outputs ==


=== * (int) ===
=== * ([[Type:Int|int]]) ===
The int representation of the number's floor. For types with multiple values, all individual values will be floored to int.
The floor of the input as an integer. For types with multiple values, all individual values will be floored to int.


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

Latest revision as of 03:41, 5 June 2024

FloorToInt
N
*
Math

The Floor To Int node acts like Floor, but will always return an int.

Inputs

N (Generic)

Numeric value to floor.

Outputs

* (int)

The floor of the input as an integer. For types with multiple values, all individual values will be floored to int.