+ 2

Please, how do we round by excess in c ++?

For exemple: Input: 66,25 Output: 67

19th Aug 2020, 6:06 PM
Arnaud Aploon
Arnaud Aploon - avatar
3 Réponses
+ 1
ceil(x) works.. Check include cmath header
19th Aug 2020, 6:19 PM
Jayakrishna 🇮🇳
+ 2
Jayakrishna🇮🇳 thank u ceil(x) work
19th Aug 2020, 11:02 PM
Arnaud Aploon
Arnaud Aploon - avatar
0
20th Aug 2020, 5:50 AM
hayao