Use proper € symbol for currency format
This also place the symbol after the figure as it is by far the most common usage according to https://en.wikipedia.org/wiki/Language_and_the_euro#Summary Closes #379
This commit is contained in:
parent
eb612157dd
commit
ae1ec5f2cf
|
@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
- Avoid potentially unsupported PSR-16 cache keys - [#354](https://github.com/PHPOffice/PhpSpreadsheet/issues/354)
|
||||
- Check for MIME type to know if CSV reader can read a file - [#167](https://github.com/PHPOffice/PhpSpreadsheet/issues/167)
|
||||
- Use proper € symbol for currency format - [#379](https://github.com/PHPOffice/PhpSpreadsheet/pull/379)
|
||||
|
||||
## [1.1.0] - 2018-01-28
|
||||
|
||||
|
|
|
@ -47,7 +47,8 @@ class NumberFormat extends Supervisor
|
|||
|
||||
const FORMAT_CURRENCY_USD_SIMPLE = '"$"#,##0.00_-';
|
||||
const FORMAT_CURRENCY_USD = '$#,##0_-';
|
||||
const FORMAT_CURRENCY_EUR_SIMPLE = '[$EUR ]#,##0.00_-';
|
||||
const FORMAT_CURRENCY_EUR_SIMPLE = '#,##0.00_-"€"';
|
||||
const FORMAT_CURRENCY_EUR = '#,##0_-"€"';
|
||||
|
||||
/**
|
||||
* Excel built-in number formats.
|
||||
|
|
Loading…
Reference in New Issue