필터 지우기
필터 지우기

pyrun!How do I keep more decimals?

조회 수: 1 (최근 30일)
slevin Lee
slevin Lee 2022년 11월 7일
답변: Torsten 2022년 11월 7일
>> pyrun("x1=0.24236152","x1")
ans =
0.2424
pyrun!How do I keep more decimals?

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by