@coders-tm/vue-number-format

Easy formatted numbers, currency and percentage with input/directive mask for Vue.js

Usage no npm install needed!

<script type="module">
  import codersTmVueNumberFormat from 'https://cdn.skypack.dev/@coders-tm/vue-number-format';
</script>

README

npm Version npm Downloads Bundlephobia License

vue-number-format

Vue Number Format is used to format a number using fixed-point notation. It can be used to format a number with a specific number of digits to the right of the decimal.

Vue 3.0

npm install @coders-tm/vue-number-format
or
yarn add @coders-tm/vue-number-format

Vue 2.0

npm install @coders-tm/vue-number-format@2.0.7
or
yarn add @coders-tm/vue-number-format@2.0.7

Features

  • Lightweight
  • Dependency free
  • Component or Directive flavour
  • Format as you type
  • Built-in validation

Documentation

Please refer to the project home page for a detailed documentation.