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

4 vues (au cours des 30 derniers jours)
Tago
Tago le 10 Jan 2019
Modifié(e) : Tago le 10 Jan 2019
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

Réponses (1)

Tago
Tago le 10 Jan 2019
Modifié(e) : Tago le 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)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by