PHPackages                             mblajek/mbn - 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. mblajek/mbn

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

mblajek/mbn
===========

Library for PHP and JS to do calculations with any precision and correct (half-up) rounding.

1.52.1(3y ago)18.8k↑46.7%MITJavaScriptPHP &gt;=5.4

Since Oct 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mblajek/MbnPackage)[ Packagist](https://packagist.org/packages/mblajek/mbn)[ Docs](https://mbn.li)[ RSS](/packages/mblajek-mbn/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)DependenciesVersions (11)Used By (0)

Just a copy of  / for dependency managers

- PHP Composer
- JS npm

Files:

- src/Mbn.php is
- src/MbnErr.php is
- src/Mbn.js is
- src/Mbn.d.ts is

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~261 days

Total

10

Last Release

1240d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4807088?v=4)[mblajek](/maintainers/mblajek)[@mblajek](https://github.com/mblajek)

---

Top Contributors

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

---

Tags

decimalmathbignumber

### Embed Badge

![Health badge](/badges/mblajek-mbn/health.svg)

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

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.2k548.2M430](/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.6M53](/packages/markrogoyski-math-php)[phpseclib/bcmath_compat

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

16821.5M26](/packages/phpseclib-bcmath-compat)[krowinski/bcmath-extended

Extends php BCMath lib for missing functions like floor, ceil, round, abs, min, max, rand for big numbers. Also wraps existing BCMath functions. (more http://php.net/manual/en/book.bc.php) Supports scientific notations

801.1M24](/packages/krowinski-bcmath-extended)[php-decimal/php-decimal

Correctly-rounded arbitrary precision decimal floating point

781.1M10](/packages/php-decimal-php-decimal)[prestashop/decimal

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

178.9M9](/packages/prestashop-decimal)

PHPackages © 2026

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