how insert "%" before number in spinner

3 vues (au cours des 30 derniers jours)
aldo
aldo le 24 Juil 2023
Modifié(e) : aldo le 25 Juil 2023
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
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 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