how insert "%" before number in spinner

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

1 Stimme

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)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Jul. 2023

Bearbeitet:

am 25 Jul. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by