Method ToDb2 View Source ToDb2(Single) Converts voltage ratio to decibels. Declaration public static float ToDb2(float x) Parameters Type Name Description Single x The voltage ratio. Returns Type Description Single The ratio in decibels.