---
schema_version: "1"
id: 6a1bde7f9c57d49835d2c1d856398ed10d09393a01bcc0f53effec6e6402c50a
title: toDegrees
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.8/dw-math-functions-todegrees.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.8/dw-math-functions-todegrees
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 35ba75f530112e01a93340b0253a50ae2b360583816949ae3910e4d6e31f451c
description: MuleSoft Documentation Site
release: "2.8"
latest: false
---
# toDegrees

## [](#todegrees1)toDegrees(angrad: Number): Number

ラジアンで測定される角度をほぼ同じ度数に変換します。

_DataWeave バージョン 2.4.0 で導入されました。_

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

<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>angrad</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>度数に変換するラジアン数。</p>
</div></div></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな入力での ​`toDegrees`​ の動作を示します。

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

```DataWeave
%dw 2.0
import * from dw::util::Math
output application/json
---
{
  "toDegrees0.17":  toDegrees(0.174),
  "toDegrees0": toDegrees(0),
  "toDegrees-20": toDegrees(-0.20)
}
```

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

```Json
{
   "toDegrees0.17": 9.969465635276323832571267395889251,
   "toDegrees0": 0E+19,
   "toDegrees-20": -11.45915590261646417536927286883822
 }
```