convert empty string to 0 double value in coersion