There is a simple fuctie from C atof(char) that converts a char to a = float You have the same kind of function but atoi(char) that converts a char = to an int
View entire thread