Skip to content

FloatToInt

in Lib.numbers.int.process

Converts a float value to an integer. This can be useful for using values for indices or random seeds. Note: positive values will be floored (0.9 becomes 0), negative values get ceiled (-0.9 becomes 0).

Outputs

Name Type
Integer System.Int32