フィルターのクリア

pyrun!How do I keep more decimals?

1 回表示 (過去 30 日間)
slevin Lee
slevin Lee 2022 年 11 月 7 日
回答済み: Torsten 2022 年 11 月 7 日
>> pyrun("x1=0.24236152","x1")
ans =
0.2424
pyrun!How do I keep more decimals?

回答 (1 件)

Torsten
Torsten 2022 年 11 月 7 日
You keep all decimals in both cases - only the output format is different.
format long
pyrun("x1=0.24236152","x1")
ans =
0.242361520000000

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by