Format display number into table
显示 更早的评论

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 个评论
Where exactly are you viewing/displaying this table? In the command window, or in the variable viewer, or in a UI table of some kind, or using the report generator, or publishing tools, or exporting to a file of some kind?
Is this an actual table class, or just a numeric array or cell array?
Rik
2023-7-4
Do you mean directly in the variable editor? Because I'm not aware of any documented way to control that format. In this case rounding the numbers would probably do it, but that changes the underlying data.
Greg LANGE
2023-7-4
Stephen23
2023-7-4
"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.
Greg LANGE
2023-7-4
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!