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