| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Changed input types from int to float so decimal amounts are accepted in currency conversion. |
Sorry, something went wrong.
What this PR does
WhyPreviously, the code only accepted whole numbers. This caused incorrect behavior if the user entered decimals. ExampleInput:
Output:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What this PR does
Why
Previously, the code only accepted whole numbers. This caused incorrect behavior if the user entered decimals.
Example
Input:
Output: