{"id":16409557,"url":"https://github.com/pointybeard/helpers-functions-numbers","last_synced_at":"2026-05-16T00:05:37.096Z","repository":{"id":57043216,"uuid":"254497783","full_name":"pointybeard/helpers-functions-numbers","owner":"pointybeard","description":"A collection of functions for manipulating and formatting numbers","archived":false,"fork":false,"pushed_at":"2020-04-09T23:14:57.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T00:42:13.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pointybeard.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-09T23:14:18.000Z","updated_at":"2020-04-09T23:14:48.000Z","dependencies_parsed_at":"2022-08-23T23:40:33.112Z","dependency_job_id":null,"html_url":"https://github.com/pointybeard/helpers-functions-numbers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointybeard%2Fhelpers-functions-numbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointybeard%2Fhelpers-functions-numbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointybeard%2Fhelpers-functions-numbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointybeard%2Fhelpers-functions-numbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pointybeard","download_url":"https://codeload.github.com/pointybeard/helpers-functions-numbers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240405439,"owners_count":19796190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T06:20:24.886Z","updated_at":"2025-11-15T09:06:32.909Z","avatar_url":"https://github.com/pointybeard.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Helpers: Numbers Functions\n\n-   Version: v1.0.0\n-   Date: April 09 2020\n-   [Release notes](https://github.com/pointybeard/helpers-functions-numbers/blob/master/CHANGELOG.md)\n-   [GitHub repository](https://github.com/pointybeard/helpers-functions-numbers)\n\nA collection of functions for manipulating and formatting numbers\n\n## Installation\n\nThis 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.\n\nAnd run composer to update your dependencies:\n\n    $ curl -s http://getcomposer.org/installer | php\n    $ php composer.phar update\n\n### Requirements\n\nThere are no particuar requirements for this library other than PHP 7.2 or greater.\n\nTo 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.\n\n## Usage\n\nThis 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`\n\nThe following functions are provided:\n\n-   `currency_format`\n\nExample usage:\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\ninclude __DIR__.'/vendor/autoload.php';\n\nuse pointybeard\\Helpers\\Functions\\Numbers;\n\nvar_dump(Numbers\\currency_format(11.234112));\n//string(5) \"11.23\"\n\nvar_dump(Numbers\\currency_format(984456.78135274694112, '.', ','));\n//string(10) \"984,456.78\"\n\n```\n\n## Support\n\nIf you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/pointybeard/helpers-functions-numbers/issues),\nor better yet, fork the library and submit a pull request.\n\n## Contributing\n\nWe encourage you to contribute to this project. Please check out the [Contributing documentation](https://github.com/pointybeard/helpers-functions-numbers/blob/master/CONTRIBUTING.md) for guidelines about how to get involved.\n\n## License\n\n\"PHP Helpers: Number Functions\" is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpointybeard%2Fhelpers-functions-numbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpointybeard%2Fhelpers-functions-numbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpointybeard%2Fhelpers-functions-numbers/lists"}