---
schema_version: "1"
id: e4e91b4853e9a73a8167d4861fde90a8088f70763b7bc7a1398facfb99ab6e81
title: isDecimal
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.8/dw-core-functions-isdecimal.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.8/dw-core-functions-isdecimal
source_site: docs.mulesoft.com
content_type: documentation
content_hash: eb1709bf92613de2835364f06e4e46f3e645c96e6e9979d6ce258e6b00581339
description: MuleSoft Documentation Site
release: "2.8"
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 ]
```