/angular-percent

Angular filter for converting decimal proportions to percent strings

Primary LanguageJavaScriptMIT LicenseMIT

angular-percent Build Status

Angular filter for converting decimal proportions to percent strings

Install

$ npm install --save angular-percent

Usage

angular.module('myApp', [
  require('angular-percent')
])
{{0.1 | percent}}
<!-- 10% -->
{{0.3141579 | percent:2}}
<!-- 3.14% -->

License

MIT © Ben Drucker