vue-filter-euro-pt

0.1.4 • Public • Published

vue-filter-euro-pt

Vue 2 Filter just for euro currency and only portuguese local.

Install

Available through npm as vue-filter-euro-pt, or include as an inline script.

import Vue from 'vue'
import vueFilterEuroPT from 'vue-filter-euro-pt'

Vue.use(vueFilterEuroPT)

or

Vue.use(require('vue-filter-euro-pt'))

Usage

{{ 11125.64 | toEuroPT(2) }}

Return: 11 125,36 €

everywhere like methods, etc...

this.$options.filters.toEuroPT(15364878)

Options

Decimals - Integer * default (2)

{{ 15364878 | toEuroPT(1) }}

Return: 15,4 €

/vue-filter-euro-pt/

    Package Sidebar

    Install

    npm i vue-filter-euro-pt

    Weekly Downloads

    1

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    2.96 kB

    Total Files

    4

    Last publish

    Collaborators

    • sainf