.Net Standard 2.1 package for converting number or currency values to Turkish words.
Build server | Platform | Status |
---|---|---|
Azure CI Pipelines | All | |
Github Actions | All | |
Travis CI | Linux |
Install the NumberToWords NuGet Package.
Install-Package Number2Words
dotnet add package Number2Words
ITransformerFactory transformerFactory = new TransformerFactory() // create transformer factory
var transformer = transformerFactory.Create("tr");
// currency converting
var currencyToWords = transformer.ToCurrencyWords(123456789.26m, "TRY");
// YÜZ YİRMİ ÜÇ MİLYON DÖRT YÜZ ELLİ ALTI BİN YEDİ YÜZ SEKSEN DOKUZ LİRA YİRMİ ALTI KURUŞ
// number converting
var numberToWords = transformer.ToWords(123456789);
// YÜZ YİRMİ ÜÇ MİLYON DÖRT YÜZ ELLİ ALTI BİN YEDİ YÜZ SEKSEN DOKUZ