how insert "%" before number in spinner

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

 Respuesta aceptada

Angelo Yeo
Angelo Yeo el 24 de Jul. de 2023

1 voto

You can use %% for ValueDisplayFormat as shown below.

1 comentario

aldo
aldo el 25 de Jul. de 2023
Editada: aldo el 25 de Jul. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Preguntada:

el 24 de Jul. de 2023

Editada:

el 25 de Jul. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by