You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by HyunWoo Jo <hy...@sound4u.net> on 2010/05/29 18:13:07 UTC

price rule and 3 decimals

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






Re: price rule and 3 decimals

Posted by HyunWoo Jo <hy...@sound4u.net>.
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
>
>
>
>
>