Round x to the nearest integer. For example:
x = 3.2
y = 3
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers76
Suggested Problems
-
Find the maximum number of decimal places in a set of numbers
3599 Solvers
-
Sum of first n positive integers
630 Solvers
-
Rounding off numbers to n decimals
5798 Solvers
-
3755 Solvers
-
88 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!