https://github.com/davidstrada/unit-conversion
Perform conversions kg to pounds
https://github.com/davidstrada/unit-conversion
Last synced: 9 months ago
JSON representation
Perform conversions kg to pounds
- Host: GitHub
- URL: https://github.com/davidstrada/unit-conversion
- Owner: DavidStrada
- License: mit
- Created: 2021-01-27T19:25:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-02T01:33:40.000Z (about 5 years ago)
- Last Synced: 2025-06-17T09:09:46.844Z (9 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# unit-conversion
[](https://packagist.org/packages/davidstrada/unit-conversion)
[](https://github.com/davidstrada/unit-conversion/actions?query=workflow%3ATests+branch%3Amaster)
[](https://packagist.org/packages/davidstrada/unit-conversion)
Unit conversion package.
## Installation
You can install the package via composer:
```bash
composer require davidstrada/unit-conversion
```
## Usage
```php
$lbs = Weight::fromKilograms(100)->toLbs();
$this->assertEquals(220.4623, $lbs);
```
## Testing
```bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [David](https://github.com/davidstrada)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.