how insert "%" before number in spinner

hi, it's possible to insert a "%"after number? Ex. 4%
value = app.MaxDDSpinner.Value;

 Réponse acceptée

Angelo Yeo
Angelo Yeo le 24 Juil 2023

1 vote

You can use %% for ValueDisplayFormat as shown below.

1 commentaire

aldo
aldo le 25 Juil 2023
Modifié(e) : aldo le 25 Juil 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by