Clear Filters
Clear Filters

how to covert this number 1.8287e+03??

2 views (last 30 days)
for example , 1.8287e+03 into something like 18287000?
  1 Comment
Rik
Rik on 30 Jan 2018
What is your original format? Numerical or string? And do you mean the output should be a string?

Sign in to comment.

Accepted Answer

Guillaume
Guillaume on 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

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!