     whole = whole % 100;
     splitLeft[1] = whole / 10;
     splitLeft[0] = whole % 10;
-    digitsLeft = 1;
-  }
-
-  double decimal = fractional * (pow(10,digitsLeft));
-
+    digitsLeft = 0;
+  }
+
+  int decimal = int(fractional * (pow(10,digitsLeft)));
   Serial.print(whole);
   Serial.print("\t");
-  Serial.print(decimal,4);
+  Serial.print(decimal);
   Serial.print("\n");
+
 /*
   //split decimal number portion next (right of decimal)
   //if decimalToWhole is 0-9

  
  //split whole number portion first (left of decimal)
  //if integral is 0-9
  if (whole < 10) {
    splitLeft[0] = whole;
    digitsLeft = 4;
  }
  //else if whole is 10-99
  else if (whole < 100) {
    splitLeft[1] = whole / 10;
    splitLeft[0] = whole % 10;
    digitsLeft = 3;
  }
  //else if whole is 100-999
  else if (whole < 1000) {

  }

  //testCaseAllNum();
  splitNumber(.1111);
}

void clearLEDs() {
