2 Respuestas
+ 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

¿Tienes a menudo preguntas como esta?
Aprende gratis de forma más eficaz
En tendencia hoy
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
2 Votes
SQL
2 Votes
JAVA PROGRAMMING
1 Votes