vue-comma-filter
v1.1.0
Published
Vue.js filter for formatting number into comma separated values.
Downloads
31
Readme
vue-comma-filter
Vue.js filter for formatting number into comma separated values.
Installation
npm install vue-comma-filter
and register in you Vue app
import Vue from "vue";
import VueCommaFilter from "vue-comma-filter";
Vue.use(VueCommaFilter);
Usage
<template>
<div>
<p>{{ 1234567 | comma }}</p> <!-- => 1,234,567 -->
</div>
</template>
License
MIT