---
schema_version: "1"
id: cbba81c903cc7e38ef17e46765e45f0df90c50c146830a7016210946fe3a4148
title: ceil
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.6/dw-core-functions-ceil.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.6/dw-core-functions-ceil
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a73b8586dceaaaa4dba530ab7f93aee2963e80013e546ab85c73e5d584338705
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
# ceil

## [](#ceil1)ceil(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>

### [](#例)例

次の例では、数値を最も近い整数に丸めます。​`2.1`​ は ​`3`​ に丸められています。

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

```DataWeave
%dw 2.0
output application/json
---

[ ceil(1.5), ceil(2.1), ceil(3) ]
```

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

```JSON
[ 2, 3, 3 ]
```