Extracts a double from dynamic value, validating its type.
double extractDoubleValue(dynamic value, String errMsg);