Print view · Float To Int · 1 pageChoose "Save as PDF" as the destination in the print dialog.
Back to the docs

Mesh Morpher documentation

Float To Int

1 page · exported 2026-09-06 · https://meshmorpher.com/docs/studio-and-graph/voxel/math/float-to-int

Studio and Graph › Voxel › Math

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.