ProtoFlux:Ceil: Difference between revisions

From Resonite Wiki
add ceil
 
m ending punctuation outside link
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Max
|Name=Ceil
|Category=Math
|Category=Math
|Inputs=
|Inputs=
Line 12: Line 12:
|}}
|}}


Rounds the value provided to the next whole number.
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 ==
* [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