Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
4.1.3, 4.2.0alpha1, extension/ezoracle 2.0.1
-
None
Description
There seems to be a problem with floating points in multiprice datatype when use oracle.
With mysql as back-end, all prices will have two digits (for instance "8.00" and "8.10".
With oracle, prices will have as few digits as possible ( "8" and "8.1" )
Steps to reproduce
Create currency, NOK, custom rate=8, factor = 1
Create currency EUR, custom rate=1, factor=1
Create class with multiprice datatype, have EUR as default currency
Create object of this new class
Set EUR price to "8", (NOK will have "autoprice") and publish.
Edit object again.
NOK price will then be calculated to "64", should be "64.00"
EUR price will be displayed as "8", should be "8.00"