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
Is pro worth the money ?
2 Votes
Pointers in c#
0 Votes
Coding for Cybersecurity
0 Votes
Salut tout le monde
1 Votes