UNPKG

moneytostr

Version:

The utility class to convert amount to words in Russian/Ukrainian/English languages

13 lines (12 loc) 450 B
<html> <head> <title>Money to string converter</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script src="http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script> <script src="moneytostr.js"></script> </head> <body> <h1>Hello, HTML</h1> <script language="javascript">alert(new MoneyToStr(Currency.UAH, Language.UKR, Pennies.TEXT).convert(978637287197540, 49))</script> </body> </html>