---
schema_version: "1"
id: 7895128141d4d8de587ced4091d054508b4fc26546fb7900eb7a8204a5e2b2ba
title: toDegrees
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-math-functions-todegrees.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-math-functions-todegrees
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 61b99d348698fc1bfa4b49035fe42c1de0fac1ee64794c716561d87c907b2a59
description: MuleSoft Documentation Site
release: "2.4"
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
 }
```