Skip to content
New issue

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

Implement divide money expressions #21

Merged
merged 16 commits into from
Aug 21, 2023

Conversation

FreeApophis
Copy link
Member

This allows to calculate factors between two Money objects.

  • The result is immediatly evaluated because we return a decimal.

* New MissingExchangeRateException
* Default Bank also throws this exception now
* More specific tests for Evaluation added
* Documented decision for division of different currencies
* Dummy implementation (red)
* Make it compile (types)
* Allow a context for Divide.
@FreeApophis FreeApophis force-pushed the implement-divide-money-expressions branch from 6eee502 to 8f55909 Compare August 18, 2023 12:40
Funcky.Money.Test/MoneyTest.cs Show resolved Hide resolved
Funcky.Money/Exceptions/MissingExchangeRateException.cs Outdated Show resolved Hide resolved
Funcky.Money/MoneyEvaluationContext.cs Outdated Show resolved Hide resolved
Funcky.Money/MoneyEvaluationContext.cs Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@FreeApophis FreeApophis force-pushed the implement-divide-money-expressions branch from fdceb64 to 7e90982 Compare August 21, 2023 06:50
@FreeApophis FreeApophis merged commit 456033c into main Aug 21, 2023
1 check passed
@FreeApophis FreeApophis deleted the implement-divide-money-expressions branch August 21, 2023 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants