roundn(x,n) returns x rounded to n digits.
Version 1.0.0.0 (1.11 KB) by
Brenden Epps
roundn(x,n) returns x rounded to n digits.
roundn(x,n) returns x rounded to n digits.
Cite As
Brenden Epps (2025). roundn(x,n) returns x rounded to n digits. (https://www.mathworks.com/matlabcentral/fileexchange/37067-roundn-x-n-returns-x-rounded-to-n-digits), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: roundfrac
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |