<commit_before># cordova-plugin-decimal-keyboard
Cordova plugin to show decimal keyboard on iPhones<commit_msg>First Draft<commit_after># cordova-plugin-decimal-keyboard

Cordova plugin to show decimal keyboard on iPhones

### Installing

```
cordova plugin add https://github.com/mrchandoo/cordova-plugin-decimal-keyboard.git
```
## Usage

```
<input type="text" pattern="[0-9]*" decimal="true">
```
Input type number will not work, try to use text with [0-9] pattern instead.

<img src=https://github.com/mrchandoo/cordova-plugin-decimal-keyboard/blob/master/Basic%20Usage.PNG width=25% height=25% />     <img src=https://github.com/mrchandoo/cordova-plugin-decimal-keyboard/blob/master/Basic%20Usage%20Typed%20Content.PNG width=25% height=25% />


### Multiple decimals

```
<input type="text" pattern="[0-9]*" decimal="true" allow-multiple-decimals='true'>
```
<img src=https://github.com/mrchandoo/cordova-plugin-decimal-keyboard/blob/master/Multiple%20Decimals.PNG width=25% height=25% />

### Different decimal character

```
<input type="text" pattern="[0-9]*" decimal="true" allow-multiple-decimals='false' decimal-char=','>
```
If you want to localize decimal character, you can change using decimal-char attribute  
<img src=https://github.com/mrchandoo/cordova-plugin-decimal-keyboard/blob/master/Different%20Decimal%20Char.PNG width=25% height=25% />

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
{'fraction_non_alphanumeric': 0.15322033898305085, 'fraction_numerical': 0.02576271186440678, 'mean_word_length': 5.678733031674208, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1100682', 'n_tokens_mistral': 516, 'n_tokens_neox': 484, 'n_words': 104}