You are viewing a single comment's thread. Return to all comments →
There's also a round() in C++:
http://www.cplusplus.com/reference/cmath/round/
Afterwards you'll still need to cast to an int.
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
There's also a round() in C++:
http://www.cplusplus.com/reference/cmath/round/
Afterwards you'll still need to cast to an int.