---
schema_version: "1"
id: 0d808492e0bd9c56d057c51e5a9457cbf3b74a382b4fe13f536a3f843ae0f1c3
title: tan
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-math-functions-tan.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-math-functions-tan
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 2653bfb9a0f6f1661cfb94acefc075356dc4f0e6eb84620a013606e67174db69
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
# tan

## [](#tan1)tan(angle: 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>angle</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>角度のラジアンの数値。</p>
</div></div></td>
</tr>
</tbody>
</table>

### [](#例)例

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

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

```DataWeave
%dw 2.0
import * from dw::util::Math
output application/json
---
{
   "tan0": tan(0),
   "tan13": tan(0.13),
   "tan-1": tan(-1)
}
```

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

```Json
{
   "tan0": 0.0,
   "tan13": 0.13073731800446006,
   "tan-1": -1.5574077246549023
 }
```