We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base
quote
In money.js, you can chain methods like this:
fx(1000).from("EUR").to("USD"); // 1.2945
These could be aliased as base and quote, for consistency with the naming convention in currency pairs and exchange rate calculations
So they would also be available like this:
fx(1000).base("EUR").quote("USD"); // 1.2945
But only if it doesn't bloat the code too much.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In money.js, you can chain methods like this:
These could be aliased as
base
andquote
, for consistency with the naming convention in currency pairs and exchange rate calculationsSo they would also be available like this:
But only if it doesn't bloat the code too much.
The text was updated successfully, but these errors were encountered: