You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [X] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
When splitting the dollars value to integer/decimal, floor() is used for the integer part. This results in the result for negative values being incorrect by -1
What is the expected behavior?
=DOLLARDE(-3.75,4) should give a result of -4.85 =DOLLARDE(-3.75,4) should give a result of -3.3
What is the current behavior?
=DOLLARDE(-3.75,4) gives a result of -5.85 =DOLLARDE(-3.75,4) gives a result of -4.3
Which versions of PhpSpreadsheet and PHP are affected?
ALL
The text was updated successfully, but these errors were encountered:
This is:
When splitting the dollars value to integer/decimal,
floor()
is used for the integer part. This results in the result for negative values being incorrect by -1What is the expected behavior?
=DOLLARDE(-3.75,4)
should give a result of-4.85
=DOLLARDE(-3.75,4)
should give a result of-3.3
What is the current behavior?
=DOLLARDE(-3.75,4)
gives a result of-5.85
=DOLLARDE(-3.75,4)
gives a result of-4.3
Which versions of PhpSpreadsheet and PHP are affected?
ALL
The text was updated successfully, but these errors were encountered: