pyrun!How do I keep more decimals?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
>> pyrun("x1=0.24236152","x1")
ans =
0.2424
pyrun!How do I keep more decimals?
0 commentaires
Réponses (1)
Torsten
le 7 Nov 2022
You keep all decimals in both cases - only the output format is different.
format long
pyrun("x1=0.24236152","x1")
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!