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

Affiliates: 2,5 $ — how to earn
Pay with:
i agree with "Terms for Customers"
Sold: 42
Refunds: 0

Uploaded: 03.09.2004
Content: text (2267 symbols)

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
No feedback yet.
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 support@plati.com 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.)