Releases: pwweb/Copper
Releases · pwweb/Copper
v1.3.0
v1.2.1
What's Changed
- Update README.md by @rabrowne85 in #7
- Update README.md by @rabrowne85 in #8
- 🐞 Fix order of style before precision by @rabrowne85 in #9
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
- 🧑🔬 Add support for SI Units and Prefixes by @rabrowne85 in #4
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Apply fixes from StyleCI by @rabrowne85 in #2
- Add types to Copper
- Drop PHP 7.x support
Full Changelog: v1.0.1...v1.1.0
Correction to Precision for Decimals
When using the precision flag in decimals, it now prints to this precision with padding as needed.
echo(Copper\Copper::create(123.456)->decimal(2)) // -> 123.46
echo(Copper\Copper::create(123.4)->decimal(2)) // -> 123.40
echo(Copper\Copper::create(123)->decimal(3)) // -> 123.000First Release
This is the first release of this tool.