Float To Integer Node

    Float To Integer Node.

    The Float To Integer node takes a single floating point number input and converts it to an integer with a choice of methods.

    浮动

    Standard float value input.

    舍入模式

    • 圆(四舍五入)

      Outputs the closest integer to Float, rounding either up or down based on the value.

      基面

      Outputs the closest integer less than Float, always rounding down.

      向上取整

      Outputs the closest integer greater than Float, always rounding up.

      截短

      Outputs the closest integer between Float and zero. For positive numbers, acts like Floor. For negative numbers, acts as Ceiling.

    结果

    Standard integer output.