---
title: "rounded(_:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/simd8/rounded(_:)"
---

# rounded(_:)

A vector formed by rounding each lane of the source vector to an integral value according to the specified rounding rule.

## Declaration

```swift
func rounded(_ rule: FloatingPointRoundingRule) -> Self
```
