How to round number up to a specific number of decimal places?
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Paulo Silva
le 3 Août 2020
Réponse apportée : Alan Stevens
le 3 Août 2020
Suppose I have a variable x=0.34; is there a function (or how would one look like) to round this number up to, say 0.4 (next highest number with one decimal place)?
Just like ceil, but with decimals?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!