     char info[64];
     
     // Convert to double
-    pointTemperature = (double) atoi(pointTemperatureStr.c_str());
+    pointTemperature = atof(pointTemperatureStr.c_str());
     
     // Log to the serial
     sprintf(info, "Point is set to: %2.2f", pointTemperature);

        // Convert values for output
        // convert pidOutput to 0-100
        sprintf(tempInfo, "%2.2f", actualTemperature);
        sprintf(pwmInfo, " %2.2f", (pidOutput / 255) * 100);
        
        // Log to the serial

    
    // SparkCloud: variables
    Spark.variable("temperature", &tempInfo, STRING);
    Spark.variable("point", &pointInfo, STRING);
    Spark.variable("pwm", &pwmInfo, STRING);
    
    // SparkCloud: functions
