The floor native AI script function returns the highest integer that is lower than or equal to the input value.
(floored_value: f)floor(value: f) // floor_f_f
(count)floor(value);
This example code floors the value of value
to the nearest lower integer value and returns the result as a float.