PHPackages                             marinaplanells/jscurrencyformat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. marinaplanells/jscurrencyformat

ActiveLibrary

marinaplanells/jscurrencyformat
===============================

jQuery plugin to format numbers to currency

21.3k1[2 issues](https://github.com/MarinaPlanells/jsCurrencyFormat/issues)JavaScript

Since Mar 23Pushed 12y agoCompare

[ Source](https://github.com/MarinaPlanells/jsCurrencyFormat)[ Packagist](https://packagist.org/packages/marinaplanells/jscurrencyformat)[ RSS](/packages/marinaplanells-jscurrencyformat/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

jsCurrencyFormat
================

[](#jscurrencyformat)

- [Ir a la versión española](https://github.com/MarinaPlanells/jsCurrencyFormat/blob/master/README_ES.md)
- [Anar a la versió catalana](https://github.com/MarinaPlanells/jsCurrencyFormat/blob/master/README_CAT.md)

jsCurrencyFormat is a plugin that converts content in HTML objects to it's currency format using the locale, a Boolean to indicate if you wants to show currency or not and an Int for de number of decimals to show

Right now the plugin supports formats to this country codes:

- es
- uk
- fr
- de
- it
- ie
- be
- lu
- nl
- gr
- de
- us

The codes for countries will be based on the `ISO 3166-1`

It will be more country currency formats supported ASAP. You can see the open Issue's to know what countries will come next.

Code example to format a number for spanish currency without the Euro symbol:

```
256984.25

```

```
    $(document).ready(function(){
        $('.num').currencyFormatter();
    });
```

But if we want to format the same HTML code to french format with the Euro symbol, we only have to pass this two parameters to the plugin:

```
    $(document).ready(function(){
        $('.num').currencyFormatter({
                lang: 'fr',
                showCurrency: true
            });
    });
```

Right now the plugin accept this parameters:

Parametervaluesdefault valuelangISO 3166-1esshowCurrencyBooleanfalsedecimalsNumberInt2jsCurrencyFormatter is a jQuery plugin, make sure you have the jquery library too.

```

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/17581ac4c6bbf5bf48133693a7885f04d9165f0a5063c80ae068a0bc6d9b0886?d=identicon)[MarinaPlanells](/maintainers/MarinaPlanells)

---

Top Contributors

[![MarinaPlanells](https://avatars.githubusercontent.com/u/4817811?v=4)](https://github.com/MarinaPlanells "MarinaPlanells (44 commits)")[![xmontero](https://avatars.githubusercontent.com/u/5641621?v=4)](https://github.com/xmontero "xmontero (1 commits)")

### Embed Badge

![Health badge](/badges/marinaplanells-jscurrencyformat/health.svg)

```
[![Health](https://phpackages.com/badges/marinaplanells-jscurrencyformat/health.svg)](https://phpackages.com/packages/marinaplanells-jscurrencyformat)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
