c float to int
snippet in c

c float to int

user3077

# you can cast in c like so
float my_float= 1.446;
int my_int = (int) my_float;