vue-calc
v0.1.7
Published
fix 1.1 - 1.3 = -0.19999999999999996
Downloads
24
Readme
vue-calc
fix 1.1 - 1.3 = -0.19999999999999996
Install
npm install vue-calc
Usage
import calc from 'vue-calc'
Vue.use(calc)
<template>
{{ $calc(1.1).add(-1.3) }}
</template>
Support
- $calc(x).add(y)
- $calc(x).subtract(y)
- $calc(x).multiply(y)
- $calc(x).divide(y)