Skip to content

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.

License

Notifications You must be signed in to change notification settings

yunuskiran/Price.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages