File Exchange

image thumbnail

round_to_sigfig

version 1.0.0.0 (1.41 KB) by Charlie Hogg
rounds a number to a specified number of significant figures

1 Download

Updated 06 Dec 2013

View License

% A function to round val to sigfig significant figures. Trailing zeros to
% the right of the decimal point are not retained.

Cite As

Charlie Hogg (2021). round_to_sigfig (https://www.mathworks.com/matlabcentral/fileexchange/44618-round_to_sigfig), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!