Round x to the nearest integer. For example:
x = 3.2
y = 3
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers74
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2538 Solvers
-
Find the maximum number of decimal places in a set of numbers
3378 Solvers
-
982 Solvers
-
1027 Solvers
-
1096 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!