PHPackages                             webinv/bigdecimal - 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. webinv/bigdecimal

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

webinv/bigdecimal
=================

BigDecimal Type

1.0.3(7y ago)230MITPHPPHP &gt;=7.2.0

Since Jun 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/webinv/php-library-bigdecimal)[ Packagist](https://packagist.org/packages/webinv/bigdecimal)[ RSS](/packages/webinv-bigdecimal/feed)WikiDiscussions master Synced 3d ago

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

BigDecimal Type
===============

[](#bigdecimal-type)

[![Build Status](https://camo.githubusercontent.com/fe6d6741a4979c96c75a56ad691d61a1c247e0cec4e98fe2ef6f5b6444be76a5/68747470733a2f2f7472617669732d63692e6f72672f776562696e762f7068702d6c6962726172792d626967646563696d616c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/webinv/php-library-bigdecimal)[![Latest Stable Version](https://camo.githubusercontent.com/2169b2317233f936e80ed579746960a608c2d2ac88d2f48344cd0abe2b1e0abb/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f626967646563696d616c2f762f737461626c65)](https://packagist.org/packages/webinv/bigdecimal)[![Total Downloads](https://camo.githubusercontent.com/8708c4c161e6bb8257b451e5baffa9fa0456bdeda2fe02d02644e8c613796046/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f626967646563696d616c2f646f776e6c6f616473)](https://packagist.org/packages/webinv/bigdecimal)[![Latest Unstable Version](https://camo.githubusercontent.com/d77211006df140ed2d0b4bbff074dc567e3da2b0e4fe563a26c17f0c7e8a5f22/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f626967646563696d616c2f762f756e737461626c65)](https://packagist.org/packages/webinv/bigdecimal)[![License](https://camo.githubusercontent.com/02784ead3e939813365ad238a600ca49a1ace9baad58cdac03e33f7553464a5d/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f626967646563696d616c2f6c6963656e7365)](https://packagist.org/packages/webinv/bigdecimal)

Installation
------------

[](#installation)

`composer require webinv/bigdecimal`

Usage
-----

[](#usage)

```
use Webinv\Types\BigDecimal\BigDecimal;

$bigdecimal = new BigDecimal('0.00008630');
$bigdecimal->add('0.00000001');

if ($bigdecimal->isGreaterThan('0.00008630')) {
    echo 'Yes !';
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~69 days

Total

4

Last Release

2668d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/069d3cdbb3db151aee8f448081bf05ba69deba0057bd4769a5962d09a3c4d69b?d=identicon)[kardasz](/maintainers/kardasz)

---

Top Contributors

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

---

Tags

decimalbigdecimalbcmathbig

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webinv-bigdecimal/health.svg)

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

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[phpseclib/bcmath_compat

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

16720.7M17](/packages/phpseclib-bcmath-compat)[prestashop/decimal

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

178.2M5](/packages/prestashop-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)[rtlopez/decimal

An object oriented immutable arbitrary-precision arithmetic library for PHP

27262.8k2](/packages/rtlopez-decimal)[php-decimal/php-decimal

Correctly-rounded arbitrary precision decimal floating point

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

PHPackages © 2026

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