how to covert this number 1.8287e+03??

1 Ansicht (letzte 30 Tage)
rihan jericho
rihan jericho am 30 Jan. 2018
Bearbeitet: rihan jericho am 31 Jan. 2018
for example , 1.8287e+03 into something like 18287000?
  1 Kommentar
Rik
Rik am 30 Jan. 2018
What is your original format? Numerical or string? And do you mean the output should be a string?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Guillaume
Guillaume am 30 Jan. 2018
I suspect you need to learn about the format function. Note that this function only changes the way the numbers are displayed. The numbers will still be stored exactly the "normal" same way in memory.
My preference is
format longg

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by