image thumbnail

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.

1.4K Downloads

Updated 08 Jun 2012

View License

roundn(x,n) returns x rounded to n digits.

Cite As

Brenden Epps (2021). 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 Linux
Tags Add Tags
Acknowledgements

Inspired: roundfrac

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!