Remy van Duijkeren
Remy van Duijkeren
Which differences do you see? The basic source is indeed from Wikipedia. I did a cross check and there seems to be a couple of differences and see the following...
Fixed by using [Collection(nameof(NoParallelization))] on test that can break under high load of culture switching.
This is about adding something a property that can be used when displaying a currency in a webpage, like: `currency.HtmlEntity`
Parsing money already works (including dollarsigns), see the code & unittest. This issue is only about supporting the suffixes K, M, B en T.
Rounding money isn't just a matter of presentation and doing this in a view or when converting to a different type. Whether money value is rounded is important domain logic,...
Hi. I'm not against such a type, but I don't know if this is the way to go. Do you have clear use cases how and where unrounded money would...
Accrual calculations and distributions is not a clear enough use case. It think each company has it's own rules about how to do this. What is the rule you need...
> This issue makes this library kinda useless it's like doing `round(x) * round(y)` instead of `round(x * y)` For multiplying it does `round(x * y)`. For adding or subtracting...
Money has strict rules in the real world. For Euro, the lowest is one cent. This isn't a "money in hand" rule. You just can't represent money lower than one...
I can't reproduce this behavior. I'm using the test below. ``` var currency = Currency.FromCode("CZK"); string json = JsonConvert.SerializeObject(currency); var clone = JsonConvert.DeserializeObject(json); clone.Should().Be(currency); clone.Namespace.Should().NotBeNull(); clone.Number.Should().NotBe(default); ``` You are saying...