---
schema_version: "1"
id: 6fdd15bac26f1bcaf296405a5be8faecfdfc0c55a4513e911e8f3096ccd74299
title: asin
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.4/dw-math-functions-asin.md
canonical_url: https://docs.mulesoft.com/dataweave/2.4/dw-math-functions-asin
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a4df430a787ad8812e832f164ac10ef1f66e60f40f9fb75556b5bbb81848cbc3
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
---
product: DataWeave
version: 2.4
---

# asin

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## asin(angle: Number): Number | NaN

Returns an arc sine value that can range from `-pi/2` through `pi/2`.

If the absolute value of the input is greater than 1, the result is `null`.

_Introduced in DataWeave version 2.4.0._

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>angle</code></p></td><td><div><div><p>Number to convert into its arc sine value.</p></div></div></td></tr></tbody></table>

### Example

This example shows how `asin` behaves with different inputs.

#### Source

```DataWeave
%dw 2.0
import * from dw::util::Math
output application/json
---
{
  "asin0": asin(0),
  "asin13": asin(0.13),
  "asin-1": asin(-1),
  "asin1.1": asin(1.1)
}
```

#### Output

```Json
{
   "asin0": 0.0,
   "asin13": 0.1303689797031455,
   "asin-1": -1.5707963267948966,
   "asin1.1": null
 }
```
