PHPackages                             joaomfrebelo/decimal - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. joaomfrebelo/decimal

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

joaomfrebelo/decimal
====================

php class to work with Decimal numbers

4.0.0(4y ago)02802MITPHP ^8.0

Since Feb 27Compare

[ Source](https://github.com/joaomfrebelo/Decimal)[ Packagist](https://packagist.org/packages/joaomfrebelo/decimal)[ Docs](https://github.com/joaomfrebelo/Decimal)[ RSS](/packages/joaomfrebelo-decimal/feed)WikiDiscussions Synced today

READMEChangelogDependencies (5)Versions (10)Used By (2)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/joaomfrebelo/Decimal).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity71

Established project with proven stability

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.

###  Release Activity

Cadence

Every ~127 days

Recently: every ~113 days

Total

9

Last Release

1606d ago

Major Versions

1.0.1 → 2.0.02020-09-06

2.0.4 → 3.0.02021-02-07

3.0.0 → 4.0.02021-12-17

PHP version history (4 changes)1.0.0PHP ^7.2

2.0.0PHP ^7.4

2.0.4PHP ^7.4 || 8.0

3.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/909b2a0bdc281c7125fc264a04f0da1538f16cbad859501919565f8e21dde18d?d=identicon)[joaomfrebelo](/maintainers/joaomfrebelo)

---

Tags

decimal

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/joaomfrebelo-decimal/health.svg)

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

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M276](/packages/brick-math)[php-decimal/php-decimal

Correctly-rounded arbitrary precision decimal floating point

781.0M9](/packages/php-decimal-php-decimal)[prestashop/decimal

Object-oriented wrapper/shim for BC Math PHP extension. Allows for arbitrary-precision math operations.

178.2M5](/packages/prestashop-decimal)[rtlopez/decimal

An object oriented immutable arbitrary-precision arithmetic library for PHP

27262.8k2](/packages/rtlopez-decimal)[aza/math

AzaMath - Anizoptera CMF mathematic component. Arbitrary precision arithmetic (for huge integers; BCMath wrapper) and universal convertor between positional numeral systems (supported bases from 2 to 62 inclusive, and systems with custom alphabet; pure PHP realisation, can use GMP and core PHP functions for speed optimization).

1921.9k1](/packages/aza-math)[danog/phpstruct

PHP implementation of python's struct module.

1110.1k](/packages/danog-phpstruct)

PHPackages © 2026

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