parseDouble static method
Implementation
static double parseDouble(dynamic val) {
double value = 0.0;
try {
if (val != null) {
value = double.parse(val.toString());
}
} catch (e) {
print(e);
}
return value;
}
static double parseDouble(dynamic val) {
double value = 0.0;
try {
if (val != null) {
value = double.parse(val.toString());
}
} catch (e) {
print(e);
}
return value;
}