Total : 0.00 €

Before contacting us, please make sure to check our F.A.Q

Please, login or register to our website in order to be able to post a presale question in the forum.

× WooPrice Calculator PRO

# [SOLVED] Bug?

3 years 10 months ago #320 by Emilio Calvo
Emilio Calvo replied the topic: Bug?
Ok, don't worry, I have a solution

Creating a new formula:
( ( 134 / 100 ) * ( \$woo_price_calc_3 / 100 ) * \$price * \$woo_price_calc_10 + 9.5 ) + ( \$woo_price_calc_11 * ( ( 134 / 50 ) + ( \$woo_price_calc_3 / 50 ) * 2 * 0.6 * \$woo_price_calc_10 ) )

\$woo_price_calc_3: input with values from 1 to X
\$price: 9
\$woo_price_calc_10: list with values from 1 to 15
\$woo_price_calc_11: "boolean" list with value 0 or 1
The topic has been locked.
3 years 10 months ago #319 by Enrico
Enrico replied the topic: Bug?
Hi Emilio,

Is this problem related to the other one?

If not please open another question

Best regards,
Enrico
The topic has been locked.
3 years 10 months ago #318 by Emilio Calvo
Emilio Calvo replied the topic: Bug?

Is there any way to make a boolean formula or use an "if" statement?

Kind regards.
The topic has been locked.
3 years 10 months ago - 3 years 10 months ago #311 by Enrico
Enrico replied the topic: Bug?
Hi Emilio,

24,24 it's the right result.

Probabily you are doing manual calculator errors.

I'm attaching the XLS document I used to do calculations, as you can see the result with your suggested input parameters is 24,24

Best regards,
Enrico
##### Attachments:
Last Edit: 3 years 10 months ago by Enrico.
The topic has been locked.
3 years 10 months ago #307 by Emilio Calvo
Emilio Calvo replied the topic: Bug?
If you have a \$woo_price_calc_3 with 100, \$woo_price_calc_10 with 1 and \$woo_price_calc_11 with 0 you must get 21,56 €, but you get 24,24 €, 2,68 € extra. Why?

if you have the same values but \$woo_price_calc_11 with 0.6 you get the wright price, 26,64 €

Kind regards.
The topic has been locked.
3 years 10 months ago - 3 years 10 months ago #304 by Enrico
Enrico replied the topic: Bug?
Hi Emilio,

I tried to setup your calculator, but I get 12,30 as result which is fine. I checked the result with Excel. What result do you get?

Best regards,
Enrico
Last Edit: 3 years 10 months ago by Enrico.
The topic has been locked.
3 years 10 months ago #300 by Emilio Calvo
Emilio Calvo replied the topic: Bug?
This is the formula:
( ( 134 / 100 ) * ( \$woo_price_calc_3 / 100 ) * \$price * \$woo_price_calc_10 + 9.5 ) + ( ( 134 / 50 ) + ( \$woo_price_calc_3 / 50 ) * 2 * \$woo_price_calc_11 * \$woo_price_calc_10 )

\$woo_price_calc_3: input with values from 1 to X
\$price: 9
\$woo_price_calc_10: list with values from 1 to 15
\$woo_price_calc_11: "boolean" list with value 0 or 0.6

Where's the issue?

Kind regards.
The topic has been locked.
3 years 10 months ago #296 by Emilio Calvo
Emilio Calvo created the topic: Bug?
Hi, I created a formula with two formula sums with a "boolean" list with two vakues: 0.6 & 0.

The bug is generate by 0 value. When the formula made the calculations with 0,6 value everything works fine, but when it run with 0 value return the calculation plus 2,68 €. Why?

That value is the minimum value returned with all fields with default values.

Any help?

Kind regards.
The topic has been locked.
Moderators: david
Time to create page: 0.212 seconds

Total : 0.00 €