Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
11906 Представления

Hi,

I think I don't get. I think that because I'm not getting expected results and documentation's example is confusing me.

New Price = Base price * ( 1 + X ) + Y

So, for example, if base price is cost price which is 10, X is a %50 margin I want and Y is 0 so:

New Price = 10 * ( 1 + 0.5 ) + 0
New Price = 10 * 1.5 + 0
New Price = 15

Is this correct, please?

The example in the above linked documentation is beyond my comprehension:

Also note that to fix a price of 60 for the 5 Berrel Keyboards, the formula Price = Base Price x (1 + 1.0) + 60 has been used.

So if Base Price is, like in the example, 100, then:

Price = 100 * ( 1 + 1.0 ) + 60
Price = 100 * 2 + 60
Price = 200 + 60 = 260

But they wanted it to be 60. So I don't get it...

Аватар
Отменить
Лучший ответ

I just read the documentation you linked to.

I am under the impression, that there is a small typo. If you change the 1 to -1, it reads:

50 * (1 + -1) + 60 = 50 * 0 + 60 = 60

or

100 * (1 + -1) + 60 = 100 * 0 + 60 = 60

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июн. 24
4537
0
авг. 20
2630
2
апр. 17
4186
1
мар. 16
5755
1
июн. 25
732