static double minusPercent(double a, double percent) { ret a*(1-percent/100); }