how to round the decimal values
1 view (last 30 days)
Show older comments
how to round up the decimal values in to integers.
0 Comments
Accepted Answer
More Answers (1)
Roger Stafford
on 18 Sep 2013
If I understand what you mean by "round up" to integers, you need the 'ceil' function:
ceil(3.01) --> 4
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!