Browse Source

Merge pull request #964 from insac/patch-1

Add info about integerDigits feature
Robin Herbots 10 years ago
parent
commit
30ff3aa07d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      README_numeric.md

+ 8 - 0
README_numeric.md

@@ -24,6 +24,14 @@ $(document).ready(function(){
 });
 ```
 
+Define the number of digits before the radixpoint
+
+```javascript
+$(document).ready(function(){
+   $(selector).inputmask("decimal", { integerDigits: 5 });
+});
+```
+
 When TAB out of the input the digits autocomplate with 0 if the digits option is given a valid number.
 
 Grouping support through:  autoGroup, groupSeparator, groupSize