how insert "%" before number in spinner

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

 採用された回答

Angelo Yeo
Angelo Yeo 2023 年 7 月 24 日

1 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2023 年 7 月 24 日

編集済み:

2023 年 7 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by