Simple JavaScript function for convert decimal number of euro to latvian language word.
<script src="./number.js"></script>
You can call this function with next command :
amountToWordsLatvian("1234,45")
And you will get this: "Viens tūkstotis divi simti trīsdesmit četri Eiro un 45 Centi"