toDouble static method
Implementation
static double toDouble( dynamic x ){
if( x is MathValue ){
return x.toFloat();
} else if( x is int ){
return x.toDouble();
}
return x as double;
}
static double toDouble( dynamic x ){
if( x is MathValue ){
return x.toFloat();
} else if( x is int ){
return x.toDouble();
}
return x as double;
}