C convert floating point to int

my_var = (int)my_var;

As simple as that. Basically you don’t need it if the variable is int.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)