orosunn / UTORtrip

Trip Application UOFT bootcamp project 1
0 stars 1 forks source link

test currency API #28

Closed orosunn closed 11 months ago

orosunn commented 11 months ago

working with USD as base currency (only free option) Two step calculation to convert from Canadian dollar input to desired output 1: Divide user input (CAD) by CAD exchange rate to get the value in USD. This lets us work with the other provided exchange rates since they refer to USD values. 2: Multiply the new value by desired target exchange rate to get final converted value.

orosunn commented 11 months ago

Got test fully operational