---
title: "convertToScalar(fromDecibels:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwarecontrol/converttoscalar(fromdecibels:)"
---

# convertToScalar(fromDecibels:)

Convert a volume dB value to the equivalent scalar value.

## Declaration

```swift
func convertToScalar(fromDecibels decibels: Float) throws -> Float
```

## Parameters

- `decibels`: A Float representing the volume dB value to convert.

## Return Value

Return Value A Float representing the equivalent scalar value.
