Financial tools for the Inner Drive Extensible Architecture
$ dotnet add package InnerDrive.FinancialThe Inner Drive Extensible Architecture implements common .NET development situations including time zones, money, measurements and conversions, and Microsoft Azure features.
The package supports common money and currency use cases, including:
Money structure with full numeric interface supportThis package runs on .NET 10, with a dependency on InnerDrive.Core.
The Inner Drive Technology website has a full SDK and example code. We also have a demo weather site that uses all the IDEA components.
This code snippet gives you some idea how easy it is to use the Money structure:
var money = 1000; // US$1,000.00
decimal[] allocation = [3M, 2M, 1M];
var list = money.Allocate(allocation); // List contains [$500.00, $333.33, $166.67]
var pounds = new Money(1000, new GBPound()); // �1000.00
double poundValue = pounds; // Implicit operator
decimal poundDecimal = pounds; // Implicit operator
var conversion = 1.3M; // USD to GBP
var usDollar = new USDollar();
var gbPound = new GBPound();
usDollar.SetConversion(gbPound, conversion);
var converted = pounds.ConvertTo(usDollar); // $1,300
Comments or questions? Send feedback