Skip to content

Commit

Permalink
Update src/libs/CurrencyUtils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martins <[email protected]>
  • Loading branch information
roryabraham and luacmartins authored May 5, 2023
1 parent 74bef77 commit 78b59bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/CurrencyUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function convertToSmallestUnit(currency, amountAsFloat) {
}

/**
* Takes an amount as an interget and converts it to a floating point amount.
* Takes an amount as an integer and converts it to a floating point amount.
* For example, give [25, USD], return 0.25
* Given [2550, USD], return 25.50
* Given [2500, JPY], return 2500
Expand Down

0 comments on commit 78b59bd

Please sign in to comment.