This is a price object library that includes some price features. Using this library you can easily add, multiply or divide multiple prices. On the other hand you can simply compare two different prices and you can check equality or inequality given prices.
- Addition
- Subtraction
- Multiplication
- Division
- Equality check
- Inequality check
- Compare
- Convert from the string
- Integrate with Currency Rate
- Multiple Currency Code Operations
Example:
var leftPrice = new Price(1250M, "AUD");
var rightPrice = new Price(750M, "AUD");
var totalPrice = leftPrice + rightPrice;
This project is licensed under the terms of the MIT license.