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

675 Solutions

506 Solvers

Last Solution submitted on Aug 27, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers506

Suggested Problems

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!