# Square Root

> Get the square root (sqrt) of a number.

- ID: `square_root_basic`
- Type: Block
- Category: [Math](https://inventor.bot/docs/reference/blocks/math.md)

- Value block: it can be used directly inside expressions, e.g. `"Result: " + square_root_basic(Args{...})`.

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `number` | yes | Number to square root. | e.g. `"9"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `square_root` | Square root of the provided number. | e.g. `"3"` |

**Example**

```go
squareRoot := square_root_basic(Args{number: 9})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Square Root: " + squareRoot,
})
```