ProtoFlux:Ceil To Int: Difference between revisions

From Resonite Wiki
add ceiltoint
 
cleanup
 
(6 intermediate revisions by 4 users not shown)
Line 8: Line 8:
|Outputs=
|Outputs=
[
[
{"Name": "*", "Type":"Int"}
{"Name": "*", "Type":"int"}
]
]
|}}
|}}


[[Ceil (ProtoFlux) | Ceil]] that will always return an [[Types:Int | int]].
The '''Ceil To Int''' node acts like [[ProtoFlux:Ceil|Ceil]], but will always return an [[Type:int|int]].
 
== Inputs ==
 
=== N (Generic) ===
Numeric value to ceil.
 
== Outputs ==
 
=== * ([[Type:Int|int]]) ===
The ceiling of the input as an integer. For types with multiple values, all individual values will be rounded up to int.


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

Latest revision as of 03:28, 5 June 2024

CeilToInt
N
*
Math

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

Inputs

N (Generic)

Numeric value to ceil.

Outputs

* (int)

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