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
Closed
fix: currency converter round float returns value times 10#72grafuls wants to merge 1 commit intoalbertlauncher:devfrom
grafuls wants to merge 1 commit intoalbertlauncher:devfrom
Conversation
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.
686718e to
a1ab7f4
Compare
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. 😉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.