pyrun!How do I keep more decimals?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
>> pyrun("x1=0.24236152","x1")
ans =
0.2424
pyrun!How do I keep more decimals?
0 Kommentare
Antworten (1)
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")
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!