   {
     digitalWrite(digit1pin,0);
     digitalWrite(digit3pin,0);
-    sevenSegWrite(value % 100 / 10, 1);
+    if (significantState == LOW)
+    {
+      sevenSegWrite(value % (100*moduloExtra) / (10*moduloExtra), 0);
+    }
+    else
+    {
+      sevenSegWrite(value % (100*moduloExtra) / (10*moduloExtra), 1);
+    }
     digitalWrite(digit2pin,1);
-
   }
 
   // Least significant digit  

    digitalWrite(digit2pin,0);
    if (coolDownTicks > 0)
    {
      sevenSegWrite(value % 10, 0);
    }
    else
    {
      sevenSegWrite(value % 10, 1);
    }
    digitalWrite(digit3pin,1);
  } 

int num;
int value;                    // The number displayed on the LEDs.
int n = 0;
int buttonState = 0;          // Current state of the Like button.
int significantState = 0;     // Current state of the Significance pin. (not really a button)
int moduloExtra = 1;          // Tot display more significant digits. (thousands)
int lastButtonState = 0;      // Previous state of the button.
long coolDownTicks = 0;       // Hold delay before a new button press is registered.
long timer = 0;               // Tick counter, helps count.
