how to round the decimal values
Show older comments
how to round up the decimal values in to integers.
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
1 Comment
mahesh chathuranga
on 18 Sep 2013
Categories
Find more on Elementary Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!