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

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

You are now following this Submission

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

Cite As

Brenden Epps (2026). roundn(x,n) returns x rounded to n digits. (https://au.mathworks.com/matlabcentral/fileexchange/37067-roundn-x-n-returns-x-rounded-to-n-digits), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: roundfrac

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0