---
title: formSquareRoot()
framework: swift
role: symbol
role_heading: Instance Method
path: swift/floatingpoint/formsquareroot()
---

# formSquareRoot()

Replaces this value with its square root, rounded to a representable value.

## Declaration

```swift
mutating func formSquareRoot()
```
