How to round only two values after decimal point
2 views (last 30 days)
Show older comments
Hi guys,
I have following block set up and i want 24.02==24.021 but i am getting output as 0 so how can i round the input to consider only two values after decimal point.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/274462/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/274462/image.png)
0 Comments
Accepted Answer
See Also
Categories
Find more on String 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!