Skip to content

2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Dec 14:40
· 11 commits to main since this release
d9ea4e2

Added

  • ByteUnitConverter::numberFormat() static method to be reused within library (although can be used externally)

Changed

  • ByteUnitConverter::new() method now accepts strings or integers as input argument
  • ByteUnitConverter::from() method now accepts strings, floats or integers as first input argument

Fixed

  • ByteUnitConverter::asRound() method now returns zero (0) results with decimals only if results are 0