PHPackages                             pointybeard/helpers-functions-numbers - 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. pointybeard/helpers-functions-numbers

ActiveLibrary

pointybeard/helpers-functions-numbers
=====================================

A collection of functions for manipulating numbers

1.0.0(6y ago)03.3k↑900%1MITPHPPHP &gt;=7.2

Since Apr 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/pointybeard/helpers-functions-numbers)[ Packagist](https://packagist.org/packages/pointybeard/helpers-functions-numbers)[ Docs](https://github.com/pointybeard/helpers-functions-numbers)[ RSS](/packages/pointybeard-helpers-functions-numbers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

PHP Helpers: Numbers Functions
==============================

[](#php-helpers-numbers-functions)

- Version: v1.0.0
- Date: April 09 2020
- [Release notes](https://github.com/pointybeard/helpers-functions-numbers/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/helpers-functions-numbers)

A collection of functions for manipulating and formatting numbers

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

[](#installation)

This library is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/helpers-functions-numbers` or add `"pointybeard/helpers-functions-numbers": "~1.0.0"` to your `composer.json` file.

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

### Requirements

[](#requirements)

There are no particuar requirements for this library other than PHP 7.2 or greater.

To include all the [PHP Helpers](https://github.com/pointybeard/helpers) packages on your project, use `composer require pointybeard/helpers` or add `"pointybeard/helpers": "~1.2.0"` to your composer file.

Usage
-----

[](#usage)

This library is a collection convenience function for common tasks relating to number manipulation. They are included by the vendor autoloader automatically. The functions have a namespace of `pointybeard\Helpers\Functions\Numbers`

The following functions are provided:

- `currency_format`

Example usage:

```
