rounded(_:) | Apple Developer Documentation

Returns this value rounded to an integral value using the specified rounding rule.