How to set numeric display format to bank with 3 digits and not only 2?

3 views (last 30 days)
Hello,
i'm using in a GUI a uitable to show multiple numeric values and set the numeric display format to 'format bank'.
Is it possible to set the numic display like 'bank' but with 3 digits and trailing zeors?
Converting the numeric values to a string is not an option, tables in UI show strings left aligned and
numeric valus right aligned.
Thx

Answers (1)

Tago
Tago on 10 Jan 2019
Edited: Tago on 10 Jan 2019
Example: format should be like bank, but with 3 digits instead of 2
123.120
'format bank' means:
2 digits and trailing zeros (see format bank in Matlab doc)
I need same, but with 3 digits like 123.120 (trailing zeros are mandatory)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!