price rule and 3 decimals

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

price rule and 3 decimals

HyunWoo Jo
hello,

i don't know if it's a problem or a way ofbiz works.

i've check both ofbiz demo lated trunk and stable site and had the  
same results.
basically i would like to get two decimals on the your/regular price,  
like xxx.xx
but it keeps displaying xxx.xxx more than 2 decimals.

you can check in both demo site,
pick "Round Gizmo"
put 14.97 in default price and 19.95 in list price. and modify Test  
rule1 in Price rule to -30 of percent of list price of actions since  
Round gizmo in promotions
then you will see $13.965 as the your price.

how can i set this to $13.97 instead ?? can i?

another question,
if i set Percent of Default price, it didn't turn into right price. if  
i set $100 for default price and set -10 percen of default price,  
wouldn't it be $90 for your price??

setting percent of list price is working ok though.

someone can help me here?
thank you in advance.

hyun





Reply | Threaded
Open this post in threaded view
|

Re: price rule and 3 decimals

HyunWoo Jo
isn't it a problem to anybody?

hyun





On May 29, 2010, at 12:13 PM, HyunWoo Jo wrote:

> hello,
>
> i don't know if it's a problem or a way ofbiz works.
>
> i've check both ofbiz demo lated trunk and stable site and had the  
> same results.
> basically i would like to get two decimals on the your/regular  
> price, like xxx.xx
> but it keeps displaying xxx.xxx more than 2 decimals.
>
> you can check in both demo site,
> pick "Round Gizmo"
> put 14.97 in default price and 19.95 in list price. and modify Test  
> rule1 in Price rule to -30 of percent of list price of actions since  
> Round gizmo in promotions
> then you will see $13.965 as the your price.
>
> how can i set this to $13.97 instead ?? can i?
>
> another question,
> if i set Percent of Default price, it didn't turn into right price.  
> if i set $100 for default price and set -10 percen of default price,  
> wouldn't it be $90 for your price??
>
> setting percent of list price is working ok though.
>
> someone can help me here?
> thank you in advance.
>
> hyun
>
>
>
>
>