PHP-function to convert an integer to a number of words (in Russian)

This product is out of stock. Subscribe for notification of when the product is back in stock.

Try to search similar items from other sellers.

Sold: 42
Refunds: 0

Product description


If you are creating a site in PHP has become necessary to print the transaction amount is not only an integer, but the words (eg printing accounts for cashless payment, put up on the site), you will come in handy this feature.

At the end transformed into a recipe number, the function adds the word "ruble" in the required form (ruble / ruble / ruble).

For example:
Number 12345 transferred to the "twelve thousand three hundred forty-five rubles."
Number 80000002 converted into "eighty two million rubles."
The number 1861 translated into "a thousand vosemsot sixty one ruble."
Well, etc. up to billions (the limit values \u200b\u200bof integers in PHP).

Additional information

Function code with comments. If necessary, you can always find out and make changes.
If necessary, it can also be translated into any other language.

Feedback

6
Period
1 month 3 months 12 months
0 0 0
0 0 0
In order to counter copyright infringement and property rights, we ask you to immediately inform us at [email protected] the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)

This website uses cookies to provide a more effective user experience. See our Cookie policy for details.