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

4 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 17 Dec 2015
vpa(sym('8.99999999999999'), 30),
  3 Comments

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!