Ceiling, Floor, Round

 
 
 

Categories

  • Math > Basic

Description

Outputs the neighboring integer of the specified scalar depending on the value of the Function parameter, which determines the rounding method to use,

Parameters

Function

The rounding method to use:

  • Ceiling outputs the smallest integer greater than or equal to the input scalar.

  • Floor outputs the highest integer less than or equal to the input scalar.

  • Round outputs the nearest integer of the input scalar.

Ports

Inputs

Value

The scalar to round.

Outputs

Scalar

The neighboring integer converted to a scalar.

Integer

The neighboring integer.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License