---
schema_version: "1"
id: 94967b01f8c8cb4cff18ab3bf77bc618b3bbae9cd9deb1c15bbaefc44e1b3563
title: asin
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/latest/dw-math-functions-asin.md
canonical_url: https://docs.mulesoft.com/dataweave/latest/dw-math-functions-asin
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 92cb50156ece0e78767385d9725bb517318d8d21c4bc3db3d3474069e4ee205b
description: MuleSoft Documentation Site
release: "2.13"
latest: true
---
---
product: DataWeave
version: 2.13
is-latest-version: true
---

# 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
 }
```
