 
     @bindTransitionEnd()
 
-    digitCount = @getDigitCount(oldValue, newValue)
+    minIntegerLen = @options.minIntegerLen ? MIN_INTEGER_LEN
+    digitCount = Math.max @getDigitCount(oldValue, newValue), minIntegerLen + fractionalCount
 
     digits = []
     boosted = 0

#
# This is just the default, it can also be set as options.format.
DIGIT_FORMAT = '(,ddd).dd'

FORMAT_PARSER = /^\(?([^)]*)\)?(?:(.)(D*)(d*))?$/


        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

