ProtoFlux:Floor to Int: Difference between revisions

From Resonite Wiki
m type -> numeric type
cleanup, match ceil to int
 
(3 intermediate revisions by 3 users not shown)
Line 12: Line 12:
|}}
|}}


== Usage ==
The '''Floor To Int''' node acts like [[ProtoFlux:Floor|Floor]], but will always return an [[Type:int|int]].
This node acts like [[Floor (ProtoFlux) | Floor]], but will always return an [[Types: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.