Borrar filtros
Borrar filtros

how to covert this number 1.8287e+03??

2 visualizaciones (últimos 30 días)
rihan jericho
rihan jericho el 30 de En. de 2018
Editada: rihan jericho el 31 de En. de 2018
for example , 1.8287e+03 into something like 18287000?
  1 comentario
Rik
Rik el 30 de En. de 2018
What is your original format? Numerical or string? And do you mean the output should be a string?

Iniciar sesión para comentar.

Respuesta aceptada

Guillaume
Guillaume el 30 de En. de 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

Más respuestas (0)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by