Skip to content

TanerSaydam/npm-tr-currency

Repository files navigation

TrCurrency

This library supporting Angular version 17

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,00 

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,00

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published