---
schema_version: "1"
id: 4aea8e09af2cc434acde0fb13f758674f9da89d8809ce6fd5f354fd4cc7c1b3f
title: Numbers (dw::core::Numbers)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-numbers.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-numbers
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9c3eb833a20cd8ae1c1dc2480ea2ec80dbdf12e07e159d47d8cbc29f9a395aa7
description: MuleSoft Documentation Site
release: "2.5"
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.5/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.5/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.5/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.5/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.5/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.5/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>