At where you define parsedouble function?