public static final double logX(double dNumber,double dBase){
  return Math.log(dNumber) / Math.log(dBase);
}

public static final double logX ( double dNumber , double dBase ) { return Math . log ( dNumber ) / Math . log ( dBase ) ; }
calculates the logarithm of a number using a given base .
