Answer the question
In order to leave comments, you need to log in
Can someone tell me the correct formula?
I have an object of the form:
[{'name' : 'usd',
'rate' : 61,49},
{'name' : 'eur',
'rate' : 69,8},
{'name' : 'gbp',
'rate' : 95,05},
{'name' : 'chf',
'rate' : 64,43},
{'name' : 'kzt',
'rate' : 0,22}]
Answer the question
In order to leave comments, you need to log in
Let's figure out the formula. you have chf/rub and kzt/rub. If you divide one by the other - chf/rub * rub/kzt = chf/kzt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question