---
schema_version: "1"
id: da5fec0440d67b53ed4915fb9097fbfea3e2f1fdf4fdbab465130a2b304cdc10
title: isDecimal
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-core-functions-isdecimal.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-core-functions-isdecimal
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 3627b47094d9f426d1ec907bd5226ddf6f0a9fca7ddff0136c16c7b514ea6a6d
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# isDecimal

## [](#isdecimal1)isDecimal(Number): Boolean

特定の数値に小数部が含まれる場合は ​`true`​、それ以外の場合は ​`false`​ を返します。

### [](#パラメーター)パラメーター

<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">​<code>number</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">評価する数値。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、数値に小数部が含まれるかどうかを示します。文字列内の数値は、数値に強制変換されます。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
output application/json
---
[ isDecimal(1.1), isDecimal(1), isDecimal("1.1") ]
```

#### [](#出力)出力

```JSON
[ true, false, true ]
```