2 Réponses
+ 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

Vous avez souvent des questions comme celle-ci ?
Apprenez de manière plus efficace, gratuitement :
Aujourd'hui en vedette
New code
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Hello Everyone
0 Votes