0

Como se redondea al mayor número en c++?

12th Apr 2022, 12:58 PM
LuXuz
LuXuz - avatar
2 Antworten
0
LuXuz its round a variable to the nearst integer like: double x= 11.3; int a = round(x) ; a will be 11 if x= 11.5 a will be 12 etc..
12th Apr 2022, 1:14 PM
Amine Laaboudi
Amine Laaboudi - avatar
0
Gracias
12th Apr 2022, 1:19 PM
LuXuz
LuXuz - avatar