PHP-function to convert an integer to a number of words (in Russian)
Sold 42
Out of stock
Secure deal
Instant delivery
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).
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 description
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.
If necessary, it can also be translated into any other language.
Reviews
No reviews yet
Out of stock
Secure deal
Instant delivery
You viewed
All images, logos, and names of games, programs, and other products used are taken from public sources and are for informational purposes only. All trademarks, logos, names, and other intellectual property belong to their respective owners. Use of such images on the website does not imply any affiliation or connection with the copyright holders.