# Math::Ceil

Process

Rounds the input value up to the nearest integer

Math::Ceil
I
O

# Inputs

IDAbbrevNameTypeDefaultDescription
inputIInputNUMBER0Input

# Outputs

IDAbbrevNameTypeDefaultDescription
outputOOutputNUMBER0Output

# Source Code

View Volang source
value = input::get("input")
rounded = math::round(value)
if (value > rounded) {
    output::set("output", rounded + 1.0)
} else {
    output::set("output", rounded)
}
Rounds the input value up to the nearest integer