what-the-bank/sources/o/C14046flm.java

38 lines
878 B
Java

package o;
import com.github.mikephil.charting.charts.PieChart;
import java.text.DecimalFormat;
/* renamed from: o.flm, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C14046flm extends vTS {
public DecimalFormat b;
private PieChart c;
public C14046flm() {
this.b = new DecimalFormat("###,###,##0.0");
}
public C14046flm(PieChart pieChart) {
this();
this.c = pieChart;
}
@Override // o.vTS
public String c(float f) {
StringBuilder sb = new StringBuilder();
sb.append(this.b.format(f));
sb.append(" %");
return sb.toString();
}
@Override // o.vTS
public final String d(float f) {
PieChart pieChart = this.c;
if (pieChart != null && pieChart.I) {
return c(f);
}
return this.b.format(f);
}
}