2 Answers
+ 4
Typecast it to int.
float float_num;
int num = (int) float_num ;
28th Jul 2020, 7:17 PM
Preity

0
thank
28th Jul 2020, 7:22 PM
Aparty

Often have questions like this?
Learn more efficiently, for free:
Hot today
Loops and conditions
2 Votes
photo upload issue in html code
0 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes
Summary please??
0 Votes