private String dpsOutputFormat(DPSAnalysis dpsStat, float totaldps, bool AP)
        {
            float  percent = dpsStat.dps / totaldps * 100f;
            string power   = AP ? "Av.AP : " + _attackPower.ToString("F2", CultureInfo.InvariantCulture) :
                             "Av.SP : " + _spellPower.ToString("F2", CultureInfo.InvariantCulture);

            return(string.Format("{0}\r\n{1}% of total dps\r\nPPM    : {2}\r\n{3}",
                                 dpsStat, percent.ToString("F2", CultureInfo.InvariantCulture), dpsStat.PPM.ToString("F2", CultureInfo.InvariantCulture), power));
        }
 private String dpsOutputFormat(DPSAnalysis dpsStat, float totaldps, bool AP)
 {
     float percent = dpsStat.dps / totaldps * 100f;
     string power = AP ? "Av.AP : " + _attackPower.ToString("F2", CultureInfo.InvariantCulture) :
                         "Av.SP : " + _spellPower.ToString("F2", CultureInfo.InvariantCulture);
     return string.Format("{0}\r\n{1}% of total dps\r\nPPM    : {2}\r\n{3}",
         dpsStat, percent.ToString("F2", CultureInfo.InvariantCulture), dpsStat.PPM.ToString("F2", CultureInfo.InvariantCulture), power);
 }