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:

  • Round outputs the nearest integer of the input scalar.

  • 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.

Ports

Inputs

Value

The scalar to round.

Outputs

Scalar

The neighboring integer converted to a scalar.

Integer

The neighboring integer.