commerceguys / intl

A PHP internationalization library, powered by CLDR data.
MIT License
361 stars 45 forks source link

Percent formatting/parsing is broken #67

Closed bojanz closed 6 years ago

bojanz commented 6 years ago

The README has an example of 0.75 becoming 75%, but there's no multiplication logic in the formatter, and the test just confirms that 50 becomes 50%. There's also no reverse logic for parsing numbers, nor a test case.