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

## [](#round1)round(Number): Number

数値を最も近い整数に丸めます。

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

<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>

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

<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
---
[ round(1.2), round(4.6), round(3.5) ]
```

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

```JSON
[ 1, 5, 4 ]
```