Releases: pwweb/Copper
Releases · pwweb/Copper
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.000
First Release
This is the first release of this tool.