Filter löschen
Filter löschen

how insert "%" before number in spinner

2 Ansichten (letzte 30 Tage)
aldo
aldo am 24 Jul. 2023
Bearbeitet: aldo am 25 Jul. 2023
hi, it's possible to insert a "%"after number? Ex. 4%
value = app.MaxDDSpinner.Value;

Akzeptierte Antwort

Angelo Yeo
Angelo Yeo am 24 Jul. 2023
You can use %% for ValueDisplayFormat as shown below.
  1 Kommentar
aldo
aldo am 25 Jul. 2023
Bearbeitet: aldo am 25 Jul. 2023
i read this documentation but i don't understand your %11.4g %% in your post
11 is the no. digits before the point and .4 the n. decimal digits? thank

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by