To Integer

Description

This node converts floats into integers using one of three methods, floor, ceiling, and round.

Inputs

  • Float - A float to convert to integer.

Outputs

  • Integer - Output integer.

Advanced Node Settings

The node has 3 methods to do the conversion.

  • Floor - It returns only the whole number.
  • Ceiling - It returns the next whole number.
  • Round - Standard round operation, where floor is used if the fraction is less than or equal 0.5 and ceiling is used if the fraction is larger than 0.5.