 
 void splitNumber(double n) {
   //takes the input n and puts into the array num, split into 4 digits from lsb to msb
-  double decimal = 0.0;
-  int whole = 0;
+  double fractional;
+  double integral;
   int digitsLeft = 0;
   int index = 0;
 

    whole = whole % 100;
    splitLeft[1] = whole / 10;
    splitLeft[0] = whole % 10;
    digitsLeft = 0;
  }

  int decimalToWhole = decimal * (10^digitsLeft);

  //split decimal number portion next (right of decimal)
  //if decimalToWhole is 0-9
  if (decimalToWhole < 10) {

    whole = whole % 100;
    splitLeft[1] = whole / 10;
    splitLeft[0] = whole % 10;
    digitsLeft = 2;
  }
  //else if whole is 1000-9999
  else if (whole < 10000) {
