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 Solvers504
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2049 Solvers
-
Compute a dot product of two vectors x and y
1052 Solvers
-
292 Solvers
-
295 Solvers
-
567 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!