Socket
Book a DemoInstallSign in
Socket

big-currency

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

big-currency

An Angular pipe for handling currencies with big numbers. Derived from Angular currency pipe.

0.0.3
latest
Source
npmnpm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

BigCurrency

This library was generated with Angular CLI version 7.2.0.

Purpose

Originally Angular CurrencyPipe does not let you use big numbers, they rely on JavaScript number precision. This Angular library solves that issue.

Usage

After installing with

npm i big-currency

import the module in your AppModule

@NgModule({
	declarations: [
		AppComponent
	],
	imports: [
		BigCurrencyModule
	],
	bootstrap: [AppComponent]
})
export class AppModule {
}

then you can use it as if using CurrencyPipe, but instead of | currency use | bigCurrency

The package uses big.js, so you can fine-tune precision with Big properties sucha as DP and PE.

Keywords

big

FAQs

Package last updated on 11 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.