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