<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [mathHypot2](./rc-js-util.mathhypot2.md)

## mathHypot2() function

As per Math.hypot, expect with 2 args.

**Signature:**

```typescript
export declare function mathHypot2(a: number, b: number): number;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

a


</td><td>

number


</td><td>


</td></tr>
<tr><td>

b


</td><td>

number


</td><td>


</td></tr>
</tbody></table>
**Returns:**

number

## Remarks

See [mathHypot2()](./rc-js-util.mathhypot2.md)<!-- -->.

