Skip to content

Releases: pwweb/Copper

v1.1.0

16 Aug 16:38
Compare
Choose a tag to compare

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

15 Jan 16:32
Compare
Choose a tag to compare

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

01 Oct 10:36
ff63aca
Compare
Choose a tag to compare

This is the first release of this tool.