how to covert this number 1.8287e+03??

2 visualizzazioni (ultimi 30 giorni)
for example , 1.8287e+03 into something like 18287000?
  1 Commento
Rik
Rik il 30 Gen 2018
What is your original format? Numerical or string? And do you mean the output should be a string?

Accedi per commentare.

Risposta accettata

Guillaume
Guillaume il 30 Gen 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

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by