KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Possible Duplicate: What's wrong with this division? If you divide 2 / 3 , it should return 0.66666666666666667 . Instead, I get 0.0 in double value type and 0 in decimal. My purpose is to divide even (e.g. 2 / 3 ) and round to 1 always to the nearest. Any help?
Tags (comma-separated)
Save Edits
Cancel