Skip to content

Releases: sindresorhus/Percentage

v1.2.0

27 Sep 17:01
Compare
Choose a tag to compare
  • Add .clampedZeroToHundred

v1.1.0...v1.2.0

v1.1.0

27 Dec 13:53
Compare
Choose a tag to compare
  • Make percentage of given value generic (#11) 6624346

v1.0.0...v1.1.0

v1.0.0

06 Jul 18:56
Compare
Choose a tag to compare

Breaking

  • Rename package from Percent to Percentage 76480b7

Improvements

  • Conform to ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, and Numeric 6ad1e1b
  • Accept more floatingpoint/integer types directly 0513895
  • Add static .random(in:) method (#9) ac33f86

Fixes

  • Fix multiplication and division for percentages 50a5144

v0.2.0...v1.0.0

v0.2.0

13 Nov 10:41
Compare
Choose a tag to compare
  • Localize the Percent description (#8) 8720f10

v0.1.1

03 Oct 05:36
Compare
Choose a tag to compare

v0.1.0

01 Oct 06:30
Compare
Choose a tag to compare

🦄