Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 740 Bytes

README.md

File metadata and controls

30 lines (27 loc) · 740 Bytes

Price.NET

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.


Features

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Equality check
  • Inequality check
  • Compare

Planning

  • Convert from the string
  • Integrate with Currency Rate
  • Multiple Currency Code Operations

Usage

Example:

var leftPrice = new Price(1250M, "AUD");
var rightPrice = new Price(750M, "AUD");
var totalPrice = leftPrice + rightPrice;

License

This project is licensed under the terms of the MIT license.