PHPackages                             schnipseljagd/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. schnipseljagd/decimal

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

schnipseljagd/decimal
=====================

decimal value implementation for php

v0.2.1(11y ago)69631LGPLPHPPHP &gt;=5.3.0

Since Mar 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/schnipseljagd/SJDecimal)[ Packagist](https://packagist.org/packages/schnipseljagd/decimal)[ Docs](https://github.com/schnipseljagd/TestDataBuilder)[ RSS](/packages/schnipseljagd-decimal/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (4)Used By (0)

SJDecimal
=========

[](#sjdecimal)

[![Build Status](https://camo.githubusercontent.com/5b063bbe5c237b19b1fb85167286648c6e5bd16c1b3045b5e7a523c781fa4948/68747470733a2f2f7472617669732d63692e6f72672f7363686e697073656c6a6167642f534a446563696d616c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/schnipseljagd/SJDecimal)

- immutable
- fully unit tested
- using bcmath internally
- similar to java's BigDecimal
- php version &gt;= 5.3

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~392 days

Total

3

Last Release

4376d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.2.0

v0.2.0PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4967f42f1b5fc14752d411300fc634ffee7aa79da30abcafe8750d4f755a3295?d=identicon)[schnipseljagd](/maintainers/schnipseljagd)

---

Top Contributors

[![schnipseljagd](https://avatars.githubusercontent.com/u/289073?v=4)](https://github.com/schnipseljagd "schnipseljagd (4 commits)")

---

Tags

decimalmathcalculation

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.1M40](/packages/markrogoyski-math-php)[mjaschen/phpgeo

Simple Yet Powerful Geo Library

1.6k8.6M22](/packages/mjaschen-phpgeo)[phpseclib/bcmath_compat

PHP 5.x-8.x polyfill for bcmath extension

16720.7M17](/packages/phpseclib-bcmath-compat)[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)

PHPackages © 2026

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