Format display number into table
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Greg LANGE
el 4 de Jul. de 2023
Comentada: Greg LANGE
el 4 de Jul. de 2023
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1425938/image.jpeg)
I trieded to change the format of my display number by ussing "format".
All my information are Wh
I have the exemple which displays
2.137873250705810e+04
It should display
21379
I don't want to use an fprint because I want to work directly in my table
5 comentarios
Stephen23
el 4 de Jul. de 2023
"I use a object class "table" to store multi info after running my script like a sort of " balance sheet""
Your screenshot shows a double class array.
Respuesta aceptada
Stephen23
el 4 de Jul. de 2023
Editada: Stephen23
el 4 de Jul. de 2023
You can change the variable viewer format in the options:
Preferences -> Variables -> Format -> Default Display Format.
You need to close and reopen the variable viewer for this to take effect.
3 comentarios
Stephen23
el 4 de Jul. de 2023
The FORMAT command only affects the command window. It has no effect on the variable viewer.
Más respuestas (0)
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!