help-octave
[
Top
][
All Lists
]
Advanced
[Date Prev][
Date Next
][Thread Prev][
Thread Next
][
Date Index
][
Thread Index
]
Question about display of precision
From
:
Walter White
Subject
:
Question about display of precision
Date
:
Thu, 1 Dec 2011 11:26:18 +0100
Hello,
I have a question and hope that you can help me to understand that.
I use str2double to convert a cell array of strings (output from strsplit).
Outputting the cell array of strings, it says
...
[1,28] = 999999999
...
Outputting the according number in the array converted with str2double says
...
Columns 28 through ...
... 1.0000e+9 ...
But if I explicitly output the converted numeric value in the array it reads 99999999, as expected.
Why is 1.0000e+9 displayed, instead of the "more correct" calue 9.9999e+8 ??
Kind regards,
Walter
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Question about display of precision
,
Walter White
<=
Re: Question about display of precision
,
Andy Buckle
,
2011/12/01
Next by Date:
Re: Question about display of precision
Next by thread:
Re: Question about display of precision
Index(es):
Date
Thread