ComfyUI Node

Float to Int

Converts a list of float values to integers by rounding each value to the nearest whole number. Takes any list of floats and outputs a list of integers (INTS type) with the same number of elements. Each float is rounded using standard rounding rules (0.5 rounds up). Useful for converting continuous weight values into discrete integer indices or counts for frame-based operations.

By yvann-ba·Created 2 years ago·Updated 6 months ago· 705
Float to Int
  • floats
  • ints
Category👁️ Yvann Nodes/🔄 Convert

Inputs (1)

NameTypeDefaultDescription
floatsFLOATSList of floats to round to nearest integers

Outputs (1)

NameTypeDescription
intsINTS