number_to_thai_words 1.0.5
number_to_thai_words: ^1.0.5 copied to clipboard
A Dart package that converts numeric values into their corresponding Thai word representation.
import 'package:flutter/foundation.dart';
import 'package:number_to_thai_words/number_to_thai_words.dart';
void main() {
const double number = 123456.00;
final String thaiWords = NumberToThaiWords.convert(number);
if (kDebugMode)
print(thaiWords); // หนึ่งแสนยี่หมื่นสามพันสี่ร้อยห้าสิบหกบาทถ้วน
}