how to get precision value upto 20 to 30 digits after decimal?

조회 수: 5 (최근 30일)
Mudasir Ahmed
Mudasir Ahmed 2015년 12월 17일
댓글: Mudasir Ahmed 2015년 12월 19일
hi
i want to get numbers upto 20 to 30 digits after decimal point. when i use sym or vpa command for said problem in a particular case like
vpa(8.99999999999999),
it results in
9
but i need value in precision not in round off figure. how i can solve this. kindly help me i will be highly thankful to you for this act of kindness|
with best Regards
Mudasir Ahmed

채택된 답변

Walter Roberson
Walter Roberson 2015년 12월 17일
vpa(sym('8.99999999999999'), 30),
  댓글 수: 3
Mudasir Ahmed
Mudasir Ahmed 2015년 12월 19일
okay, and Thank you you so much sir :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numbers and Precision에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by