---
schema_version: "1"
id: 00b8c01e76b4778d56d9a9c381a3dc6354415ee1242abb111c283c41cb0a0a4d
title: toRadians
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-math-functions-toradians.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-math-functions-toradians
source_site: docs.mulesoft.com
content_type: documentation
content_hash: bfb4dacc75389d062c0779b4916046e8dbbcb0d7be731722ca9cd261c743a658
description: MuleSoft Documentation Site
release: "2.5"
latest: false
---
# toRadians

## [](#toradians1)toRadians(angdeg: 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>angdeg</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>ラジアンに変換する度数。</p>
</div></div></td>
</tr>
</tbody>
</table>

### [](#例)例

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

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

```DataWeave
%dw 2.0
import * from dw::util::Math
output application/json
---
{
  "toRadians10":  toRadians(10),
  "toRadians013": toRadians(0.13),
  "toRadians-20": toRadians(-20)
}
```

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

```Json
{
   "toRadians10": 0.1745329251994329576922222222222222,
   "toRadians013": 0.002268928027592628449998888888888889,
   "toRadians-20": -0.3490658503988659153844444444444444
 }
```