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

## [](#log101)log10(a: Number): Number | NaN

数値の 10 を底とする対数を返します。

_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>a</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">関数の入力として機能する ​<code>Number</code>​ 値。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

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

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

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

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

```Json
{
   "log1010": 1.0,
   "log1013": -0.8860566476931632,
   "log10-20": null
}
```