pyrun!How do I keep more decimals?
Afficher commentaires plus anciens
>> pyrun("x1=0.24236152","x1")
ans =
0.2424
pyrun!How do I keep more decimals?
Réponses (1)
You keep all decimals in both cases - only the output format is different.
format long
pyrun("x1=0.24236152","x1")
Catégories
En savoir plus sur Numeric Types dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!