<commit_before>[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/itsMeBender/kgui-single-digit)

# Manipulating a single, multiple digits.

<!---
```
<kgui-single-digit>
  <template>
    <script src="../webcomponentsjs/webcomponents-lite.js"></script>
    <link rel="import" href="kgui-single-digit.html">
    <next-code-block></next-code-block>
  </template>
</kgui-single-digit>
```
-->
```html
<kgui-single-digit></kgui-single-digit>
```

# Introduction

Manipulate a single digit, with mouse or keyboard. 
But mainly mouse, because keyboard usage, will overlay the keyboard on the app, hiding too much info.
This will be handy for small corrections of a number, like an INR value or dosing pills.

It is part of a construction where multiple singe digits interacts and can modify a large number.

# Specifications

* Single digit manipulation.
* Localization of the decimal-mark.
* Multiple digita manipulation, using \<kgui-multi-digits\>.
* Allow large number formatting.
* Number format also defines maximum size of the number. As in the format `###`, with number range from 0 .. 999.
<commit_msg>Adding project details<commit_after>[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/itsMeBender/kgui-single-digit)

# Manipulating a single, multiple digits.

<!---
```
<kgui-single-digit>
  <template>
    <script src="../webcomponentsjs/webcomponents-lite.js"></script>
    <link rel="import" href="kgui-single-digit.html">
    <next-code-block></next-code-block>
  </template>
</kgui-single-digit>
```
-->
```html
<kgui-single-digit></kgui-single-digit>
```

# Introduction

Manipulate a single digit, with mouse or keyboard. 
But mainly mouse, because keyboard usage, will overlay the keyboard on the app, hiding too much info.
This will be handy for small corrections of a number, like an INR value or dosing pills.

It is part of a construction where multiple singe digits interacts and can modify a large number.

# Specifications

* Single digit manipulation.
* Localization of the decimal-mark.
* Multiple digits manipulation, using `\<kgui-multi-digits\>.`
* Allow large number formatting, using dividers.
* Number format also defines maximum size of the number. As in the format `###`, with number range from 0 .. 999.

## Future enhancements

* Decimals (I'm working on this (july'17).
* Negative numbers.

{'fraction_non_alphanumeric': 0.12694610778443113, 'fraction_numerical': 0.003992015968063872, 'mean_word_length': 4.3319148936170215, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '2783282', 'n_tokens_mistral': 790, 'n_tokens_neox': 722, 'n_words': 246}