Docs

Float To Int

Converts a float to an integer by flooring it, which means it truncates toward negative infinity rather than toward zero. 1.7 becomes 1. -0.3 becomes -1, not 0.

Float To Int node

The Float To Int node

When to use it

Converts a float to an integer by flooring it, which means it truncates toward negative infinity rather than toward zero. 1.7 becomes 1. -0.3 becomes -1, not 0.

That asymmetry only bites when the value can go negative, and then it bites hard: everything below zero shifts a whole step. Add 0.5 first if you wanted nearest.

The usual reason to place one is feeding float maths into an int-typed pin such as a Seed.

Pins

Pin Type Description
Value Number The number to round down.
Pin Type Description
Result Whole Number The whole number below it.