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

## [](#round1)round(number: 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>

### [](#例)例

次の例では、小数を最も近い整数に丸めます。

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

```DataWeave
%dw 2.0
output application/json
---
[ round(1.2), round(4.6), round(3.5) ]
```

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

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