ProtoFlux:Ceil: Difference between revisions

From Resonite Wiki
m the node
m ending punctuation outside link
 
(4 intermediate revisions by 4 users not shown)
Line 12: Line 12:
|}}
|}}


The '''Ceil''' node rounds the input up to the next integer (towards positive infinity).
The '''Ceil''' node returns the ceiling of the input type, or the smallest integral value greater than or equal to the specified number. This is also known as "rounding towards positive infinity".


== Inputs ==
== Inputs ==
Line 22: Line 22:


=== * (Generic) ===
=== * (Generic) ===
The ceil of the input with a matching type. For types with multiple values, each individual value is ceiled.
The ceiling of the input with a matching type. For types with multiple values, each individual value is rounded up.
 
== See Also ==
* [https://learn.microsoft.com/en-us/dotnet/api/system.math.ceiling#system-math-ceiling(system-double) Microsoft documentation for the <code>Math.Ceiling(Double)</code> method].


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

Latest revision as of 03:32, 5 June 2024

Ceil
N
*
Math

The Ceil node returns the ceiling of the input type, or the smallest integral value greater than or equal to the specified number. This is also known as "rounding towards positive infinity".

Inputs

N (Generic)

Numeric value to ceil.

Outputs

* (Generic)

The ceiling of the input with a matching type. For types with multiple values, each individual value is rounded up.

See Also