Singulink.Globalization.Currency
Overview
Singulink.Globalization.Currency is a .NET library that provides types like Currency
, MonetaryValue
and a range of collections and interfaces that make it easy to work with money and currencies in your applications. The library is well-documented and follows the same design principles as built-in .NET types and collections. It has been painstakingly tested and optimized to ensure that it is both fast and reliable.
This package is part of our Singulink Libraries collection. Visit https://github.com/Singulink to see our full list of publicly available libraries and other open-source projects.
Key Features
✔️ Wide range of string formatting options for every scenario (including ISpanFormattable
support)
✔️ Four types of money bag collections for working with multiple currencies at once
✔️ Collection expression/literal syntax support
✔️ Builds currency data from built-in system globalization data
✔️ Support for custom currency registries, i.e. for cryptocurrency support
✔️ Generic math support (.NET)
✔️ Extensive ReadOnlySpan<char>
lookup support (.NET 9+)
✔️ Full AOT and WinRT support
✔️ 700 tests with 90% code coverage
Installation
The package is available on NuGet - simply install the Singulink.Globalization.Currency
package.
Supported Runtimes: Everywhere .NET Standard 2.0 is supported, including:
- .NET
- .NET Framework
- Mono / Xamarin
End-of-life runtime versions that are no longer officially supported are not tested or supported by this library.
Information and Links
Here are some additonal links to get you started:
- API Documentation - Browse the fully documented API here.
- Chat on Discord - Have questions or want to discuss the library? This is the place for all Singulink project discussions.
- Github Repo - File issues, contribute pull requests or check out the code for yourself!