# 数値形式を変更

世界で使われている数値形式は同一ではないため、数値を含むカラムで使用する形式を変更しなければならない場合があります。

アプリケーションが最適に動作するよう、このファンクションで形式変更できる値の最大値はJavaの[MAX_VALUE](https://docs.oracle.com/javase/7/docs/api/java/lang/Double.html#MAX_VALUE)、つまり1.7976931348623157E308にデフォルトで設定されています。

ただし、&lt;Installation\_Path&gt;/dataprep/transformation/actions/configuration/math/math.propertiesファイルの次のパラメーターを編集すれば、この値を変更できます。

```
# Set a String value compatible with the BigDecimal constructor
max.number.value=1.7976931348623157E308
# If you set this value to TRUE and the the above "max.number.value" is not valid
# the default value from sun.misc.FloatingDecimal.Double.MAX_VALUE will be used
max.number.limit=true
# If you set "max.number.value" to TRUE and "max.number.value.replace" to true
# the cell with too big numbers will be fill by "max.number.value.replacement"
max.number.value.replace=false
max.number.value.replacement=
```

## 手順

1. 数値形式を変更するカラムを選択します。
2. ファンクションパネルにFormat Numberと入力し、結果をクリックして関連するファンクションのオプションを開きます。
3. [Current separators] (現在の区切り)リストで、選択したカラムで使用されている数値形式を選択します。以下のような処理が可能です。
   * 事前定義済みの区切りを使う
   * customで定義する
   * Talend Data Preparationに自動的に形式を推測させる

   ![](https://help.qlik.com/talend/ja-JP/data-preparation-user-guide/Resources/images/change_number_format_1.png)
4. [Target Format] (ターゲット形式)リストで、選択したカラムで使用されている数値形式を選択します。
5. [Submit] (送信)をクリックします。

   このファンクションの結果を新しいカラムに出力するには、[Create new column] (新しいカラムを作成)チェックボックスをオンにします。

## タスクの結果

選択したカラムで数値形式が変更されます。