Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

fix: currency converter round float returns value times 10#72

Closed
grafuls wants to merge 1 commit intoalbertlauncher:devfrom
grafuls:dev
Closed

fix: currency converter round float returns value times 10#72
grafuls wants to merge 1 commit intoalbertlauncher:devfrom
grafuls:dev

Conversation

@grafuls
Copy link

@grafuls grafuls commented Nov 15, 2019

When querying for a rounded amount like "400 usd to ars", the value
passed for the yahoo query comes through as 400.0, which is in turn
interpreted by the yahoo search api as 4000.
Added formating and conversion on the api query string generation
for passing 2 decimal places.

When querying for a rounded amount like "400 usd to ars", the value
passed for the yahoo query comes through as 400.0, which is in turn
interpreted by the yahoo search api as 4000.
Added formating and conversion on the api query string generation.
@grafuls grafuls changed the title fix: currency converter round floats returns value times 10 fix: currency converter round float returns value times 10 Nov 15, 2019
@ManuelSchneid3r ManuelSchneid3r force-pushed the dev branch 2 times, most recently from 686718e to a1ab7f4 Compare November 8, 2020 22:18
@ManuelSchneid3r
Copy link
Member

Unfortunately I let you all wait pretty long. Now I have the problem that I don't know which PR's are valid at all. Therefore I will close all PR's for tentatively. If you want me to reopen the PR let me know. Also it would be nice if you could resolve potential conflicts due to changes in the repo. Sorry for the inconveniences, but I am working on it for a week now. I'm in a hurry. Note that this is a copy paste message. 😉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants