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

4 visualizaciones (últimos 30 días)
Tago
Tago el 10 de En. de 2019
Editada: Tago el 10 de En. de 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

Respuestas (1)

Tago
Tago el 10 de En. de 2019
Editada: Tago el 10 de En. de 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)

Categorías

Más información sobre MATLAB 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!

Translated by