Changed atoi to atof