Clear Filters
Clear Filters

how insert "%" before number in spinner

2 views (last 30 days)
aldo
aldo on 24 Jul 2023
Edited: aldo on 25 Jul 2023
hi, it's possible to insert a "%"after number? Ex. 4%
value = app.MaxDDSpinner.Value;

Accepted Answer

Angelo Yeo
Angelo Yeo on 24 Jul 2023
You can use %% for ValueDisplayFormat as shown below.
  1 Comment
aldo
aldo on 25 Jul 2023
Edited: aldo on 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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!