pyrun!How do I keep more decimals?

Respuestas (1)

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

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Nov. de 2022

Respondida:

el 7 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by