---
schema_version: "1"
id: 917d4b6df796bbc6d172adb3deeac2dd0e790b63826a440fe878f79528728ac1
title: tan
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-math-functions-tan.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-math-functions-tan
source_site: docs.mulesoft.com
content_type: documentation
content_hash: accbe5225789c3fee4b3625a5bf1a8a909508b60fa174914667c7adf39fc262e
description: MuleSoft Documentation Site
release: "2.7"
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
 }
```