how to round the decimal values

 Réponse acceptée

Plus de réponses (1)

Roger Stafford
Roger Stafford le 18 Sep 2013

1 vote

If I understand what you mean by "round up" to integers, you need the 'ceil' function:
ceil(3.01) --> 4

Catégories

En savoir plus sur Elementary Math dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by