Documentation ¶
Index ¶
- Variables
- func IntegerToEnUs(input int) string
- func IntegerToEsEs(input int) string
- func IntegerToFrBe(input int) string
- func IntegerToFrFr(input int) string
- func IntegerToIDID(input int) string
- func IntegerToIrIr(input int) string
- func IntegerToItIt(input int) string
- func IntegerToJaJp(input int) string
- func IntegerToNlNl(input int) string
- func IntegerToPlPl(input int) string
- func IntegerToPtPt(input int) string
- func IntegerToRoman(input int) string
- func IntegerToRomanUnicode(input int) string
- func IntegerToRuRu(input int) string
- func IntegerToSvSe(input int) string
- func IntegerToTrTr(input int) string
- type Language
- type LanguageList
Examples ¶
Constants ¶
This section is empty.
Variables ¶
var Languages = LanguageList{}
Functions ¶
func IntegerToEnUs ¶
IntegerToEnUs converts an integer to American English words
Example ¶
fmt.Println(IntegerToEnUs(42))
Output: forty-two
func IntegerToEsEs ¶
IntegerToEsEs converts an integer to spanish words
Example ¶
fmt.Println(IntegerToEsEs(42))
Output: cuarenta y dos
func IntegerToFrBe ¶
IntegerToFrBe converts an integer to French (belgium) words
Example ¶
fmt.Println(IntegerToFrBe(42)) fmt.Println(IntegerToFrBe(92))
Output: quarante-deux nonante-deux
func IntegerToFrFr ¶
IntegerToFrFr converts an integer to French words
Example ¶
fmt.Println(IntegerToFrFr(42))
Output: quarante-deux
func IntegerToIDID ¶
IntegerToIDID converts an integer to Indonesian words
Example ¶
fmt.Println(IntegerToIDID(42))
Output: empat puluh dua
func IntegerToIrIr ¶
IntegerToIrIr converts an integer to Iranian words
Example ¶
fmt.Println(IntegerToIrIr(42))
Output: چهل و دو
func IntegerToItIt ¶
IntegerToItIt converts an integer to Italian words
Example ¶
out := IntegerToItIt(42) fmt.Println(out)
Output:
func IntegerToJaJp ¶
IntegerToJaJp converts an integer to Japanese words
Example ¶
fmt.Println(IntegerToJaJp(42))
Output: 四十二
func IntegerToNlNl ¶
IntegerToNlNl converts an integer to Dutch words
Example ¶
fmt.Println(IntegerToNlNl(42))
Output: tweeenveertig
func IntegerToPlPl ¶
func IntegerToPtPt ¶
func IntegerToRoman ¶
IntegerToRoman converts an integer to Roman words
Example ¶
fmt.Println(IntegerToRoman(42))
Output: XLII
func IntegerToRomanUnicode ¶
func IntegerToRuRu ¶
IntegerToRuRu converts an integer to Russian words
func IntegerToSvSe ¶
IntegerToSvSe converts an integer to Swedish words
Example ¶
fmt.Println(IntegerToSvSe(42))
Output: fyrtio-två
func IntegerToTrTr ¶
IntegerToTrTr converts an integer to Turkish words
Example ¶
fmt.Println(IntegerToTrTr(42))
Output: kırk iki
Types ¶
type LanguageList ¶
func (LanguageList) Default ¶
func (langs LanguageList) Default() Language
func (LanguageList) Lookup ¶
func (langs LanguageList) Lookup(key string) *Language