Write a script to round x DOWN to the next lowest integer:
e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers506
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2074 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Calculate distance travelled when given radius and rotations
243 Solvers
-
329 Solvers
-
738 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!