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

## [](#isdecimal1)isDecimal(number: 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 ]
```