18.0.5 • Published 10 months ago

tr-currency v18.0.5

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

TrCurrency

This library supporting Angular version 18

Install

npm i tr-currency

Code usage

This package have an standalone pipe. If you want to use it you have to import TrCurrencyPipe your standalone component or your module.

Installation

import { TrCurrencyPipe } from 'tr-currency';

imports: [ 
    TrCurrencyPipe
]

Usage

{{money | trCurrency}}

Output

14505.50 ==> 14.505,00

Usage

//If you want to use symbol, you can use parameter that.
{{money | trCurrency : '₺'}}

Output

14505.50 ==> 14.505,50 ₺

Usage

//If you want the symbol to be first, you can stil do it with a parameter.
{{money | trCurrency : '₺' : true}}

Output

14505.50 ==> ₺14.505,50

Usage

//If you want the more or less fraction, you can stil do it with a parameter.
{{money | trCurrency : '₺' : true, 1}}
{{money | trCurrency : '₺' : true, 2}}
{{money | trCurrency : '₺' : true, 3}}

Output

14505.50 ==> ₺14.505,5
14505.50 ==> ₺14.505,50
14505.50 ==> ₺14.505,500
18.0.5

10 months ago

18.0.4

10 months ago

1.0.1

1 year ago

18.0.3

1 year ago

18.0.2

1 year ago

18.0.1

1 year ago

18.0.0

1 year ago

1.0.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago