Here you can find the source of powerLevelToDb(double value)
public static double powerLevelToDb(double value)
//package com.java2s; public class Main { public static double powerLevelToDb(double value) { return 10.0 * Math.log10(value); }//from w w w .j a v a 2 s .c o m }