I want to get and display the results of a problem with 2 decimal digits , already it get me 4 digits , what should do i for get the results just with 2 decimal digits?

I want to get and display the results of a problem with 2 decimal digits , already it get me 4 digits , what should do i for get the results just with 2 decimal digits?

回答 (1 件)

José-Luis
José-Luis 2014 年 6 月 23 日
編集済み: José-Luis 2014 年 6 月 23 日
format bank
rand(10,1)
Please provide feedback on the answers you get and accept the one that better solves your problem.

この質問は閉じられています。

質問済み:

2014 年 6 月 23 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by