KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Are there any reasons one would prefer to use Math.Floor vs casting to an integral type? double num; double floor = Math.Floor(num); OR double num; long floor = (long)num;
Tags (comma-separated)
Save Edits
Cancel