---
schema_version: "1"
id: effbb0fcceb5f3ebfa252650b16e127e55398013cf8345d8e3a7e81a324d06bb
title: Numbers (dw::core::Numbers)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.8/dw-numbers.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.8/dw-numbers
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 087e44815859aa24b0a88ecdbcd1104bcd6b947d6f4b02939d63a02efd149266
description: MuleSoft Documentation Site
release: "2.8"
latest: false
---
# Numbers (dw::core::Numbers)

このモジュールには、数値を処理するためのヘルパー関数が含まれます。

このモジュールを使用するには、DataWeave コードにインポートする必要があります。その方法として、たとえば、行 ​`import * from dw::core::Numbers`​ を DataWeave スクリプトの ヘッダーに追加します。

_DataWeave バージョン 2.2.0 で導入されました。_

## [](#関数)関数

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-numbers-functions-frombinary" class="xref page">fromBinary</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2 進数から 10 進数に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-numbers-functions-fromhex" class="xref page">fromHex</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">16 進数を 10 進数に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-numbers-functions-fromradixnumber" class="xref page">fromRadixNumber</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">指定された基数の数値を 10 進数に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-numbers-functions-tobinary" class="xref page">toBinary</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">10 進数を 2 進数に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-numbers-functions-tohex" class="xref page">toHex</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">10 進数を 16 進数に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-numbers-functions-toradixnumber" class="xref page">toRadixNumber</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">10 進数を他の基数の数値文字列に変換します。</p></td>
</tr>
</tbody>
</table>