Package Description
$ dotnet add package Distractive.FormattersThai number-to-text formatter.
Convert number to Thai words. Thai words and Baht text format supported.
.NET 6 or .NET Standard 2.0 or 2.1
nuget install Distractive.Formattersvar formatter = new ThaiNumberTextFormatter();
formatter.Format(1001); // หนึ่งพันเอ็ด
formatter.GetBahtText(9.99M); // เก้าบาทเก้าสิบเก้าสตางค์
All public methods of ThaiNumberTextFormatter are guaranteed to be thread-safe, so using it as a static instance is safe.
Contributors names and contact info
@tiakun
This project is licensed under the [MIT] License - see the LICENSE.md file for details
Inspired by