Skip to content

netologist/numbers-to-words

Repository files navigation

Numbers to Words for English and Turkish Languages

Example for Turkish

word, _ := n2w.ToTurkishWords(9876543210987654)
fmt.Println(word)
// DOKUZ KATTRİLYON SEKİZ YÜZ YETMİŞ ALTI TRİLYON BEŞ YÜZ KIRK ÜÇ MİLYAR İKİ YÜZ ON MİLYON DOKUZ YÜZ SEKSEN YEDİ BİN ALTI YÜZ ELLİ DÖRT

Example for English

word, _ := n2w.ToEnglishWords(9876543210987654)
fmt.Println(word)
// NINE QUADRILION EIGHT HUNDERED SEVENTY SIX TRILLION FIVE HUNDERED FORTY THREE BILLION TWO HUNDERED TEN MILLION NINE HUNDERED EIGHTY SEVEN THOUSAND SIX HUNDERED FIFTY FOUR

About

Numbers 2 Words Library for English And Turkish

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages