+ 1

float in int

I need to convert float to int

28th Jul 2020, 7:15 PM
Aparty
Aparty - avatar
2 Respostas
+ 4
Typecast it to int. float float_num; int num = (int) float_num ;
28th Jul 2020, 7:17 PM
Preity
Preity - avatar
0
thank
28th Jul 2020, 7:22 PM
Aparty
Aparty - avatar