Skip to content

FloatListToIntList

in Lib.numbers.floats.conversion

Converts a list of floats to a list of integers.

Each float in the input list is converted to an integer. The fractional part is truncated (e.g., 3.9 becomes 3).

Tips: - This is useful when an operator requires a list of integers, but you have a list of floats.

AKA: cast, convert, float to int, float to integer, truncate

Outputs

Name Type
Result System.Collections.Generic.List`1[System.Int32]