how to round the decimal values
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to round up the decimal values in to integers.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Roger Stafford
le 18 Sep 2013
If I understand what you mean by "round up" to integers, you need the 'ceil' function:
ceil(3.01) --> 4
Voir également
Catégories
En savoir plus sur Elementary Math dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!