Function lupnt::DecimalToDecibel(Real)

Function Documentation

Real lupnt::DecimalToDecibel(Real x)

Convert decimal value to decibels.

Convert a decimal (linear) ratio to decibels: 10*log10(x).

Parameters:
  • x – Decimal value

  • x – Decimal (linear-scale) ratio, e.g. a power ratio

Returns:

Decibel value

Returns:

Value in decibels [dB]