Filter löschen
Filter löschen

pyrun!How do I keep more decimals?

1 Ansicht (letzte 30 Tage)
slevin Lee
slevin Lee am 7 Nov. 2022
Beantwortet: Torsten am 7 Nov. 2022
>> pyrun("x1=0.24236152","x1")
ans =
0.2424
pyrun!How do I keep more decimals?

Antworten (1)

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

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by