ROUND2DP

Version 1.0.0.0 (1,14 ko) par Andrew
Round a number to a given number of decimal places
1,2K téléchargements
Mise à jour 20 mai 2009

Afficher la licence

This expands on the operation of the built-in ROUND function to provide functionality to round to a given number of decimal places. For example,

>> round(pi)
ans =
3

>> round2dp(pi,3)
ans =
3.142

Citation pour cette source

Andrew (2024). ROUND2DP (https://www.mathworks.com/matlabcentral/fileexchange/24213-round2dp), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2008a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Arithmetic Operations dans Help Center et MATLAB Answers
Remerciements

Inspiré par : round2

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0