 #
 # This is just the default, it can also be set as options.format.
 DIGIT_FORMAT = '(,ddd).dd'
+
+MIN_INTEGER_LEN = 0;
 
 FORMAT_PARSER = /^\(?([^)]*)\)?(?:(.)(D*)(d*))?$/
 

    if @options.formatFunction
      valueString = @options.formatFunction(value)
      for valueDigit in valueString.split('').reverse()
        if valueDigit.match(/0-9/)
          digit = @renderDigit()
          digit.querySelector('.odometer-value').innerHTML = valueDigit
          @digits.push digit

        if i == fractionalCount
          @addDigit '.', true

      minIntegerLen = @options.minIntegerLen ? MIN_INTEGER_LEN

      for i in [i - fractionalCount...minIntegerLen] by 1
        @addDigit 0, true


      if value < 0
        @addDigit '-', true

