OutSystemsカンマ区切りのやり方

基礎
スポンサーリンク

カンマ区切りのやり方【OutSystems】

数値を表示させるときに必要となるカンマ区切りの方法について解説してきます。

今回はカンマを表示させる方法を2つ紹介します。

スポンサーリンク

FormatDecimal

FormatDecimalを使用する方法を紹介します。

FormatDecimalを使用すれば、カンマ区切りを設定することができます。

  • 第1引数:カンマ区切りをしたい数値
  • 第2引数:有効桁数(小数点桁数)
  • 第3引数:小数点の区切り記号
  • 第4引数:数値を区切記号(カンマであれば”,”)
スポンサーリンク

Custom Input Masks

ForgeにあるMaskを資料する方法を解説します。

まずForgeから「Custom Input Masks」をインストールしてください。

Manege Dependencies(コンセントのアイコン)でMaskNumberにチェックをします。

カンマ区切りをしたい数値の近くにドラッグ&ドラックします。

カンマ区切りしたいWidgetのIdを選択します。

以上でカンマ区切りの解説でした。

コメント

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

タイトルとURLをコピーしました