Various string formatters, mainly for Thai language
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.Formatters
var 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.
- 1.0.0
- Initial Release
This project is licensed under the [MIT] License - see the LICENSE.md file for details
Inspired by