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

36 lines
1016 B
Java

package o;
/* renamed from: o.gem, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C15018gem extends C15010gee {
public static final Float a(String str) {
C14957gcv.e(str, "");
try {
gdW gdw = C15007geb.a;
String str2 = str;
C14957gcv.e(str2, "");
if (gdw.e.matcher(str2).matches()) {
return Float.valueOf(Float.parseFloat(str));
}
return null;
} catch (NumberFormatException unused) {
return null;
}
}
public static final Double d(String str) {
C14957gcv.e(str, "");
try {
gdW gdw = C15007geb.a;
String str2 = str;
C14957gcv.e(str2, "");
if (gdw.e.matcher(str2).matches()) {
return Double.valueOf(Double.parseDouble(str));
}
return null;
} catch (NumberFormatException unused) {
return null;
}
}
}