how insert "%" before number in spinner

3 次查看(过去 30 天)
hi, it's possible to insert a "%"after number? Ex. 4%
value = app.MaxDDSpinner.Value;

采纳的回答

Angelo Yeo
Angelo Yeo 2023-7-24
You can use %% for ValueDisplayFormat as shown below.
  1 个评论
aldo
aldo 2023-7-25
编辑:aldo 2023-7-25
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by