KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Duplicate of: round() for float in C++ I'm using VS2008 and I've included math.h but I still can't find a round function. Does it exist? I'm seeing a bunch of "add 0.5 and cast to int" solutions on google. Is that the best practice?
Tags (comma-separated)
Save Edits
Cancel