- Cell Phones 630
- Editors 265
- Education, Science & Engineering 319
- Games 1673
- Internet 569
- Mobile Software 4
- Multimedia & Graphics 1143
- PC 426
- Programming 352
- C# 76
- Data Bases 122
- PHP 54
- Miscellaneous 100
- Security 1449
- SEO 73
- Utilities 878
Record the number of words, letters, words. Script for
Refunds: 0
Uploaded: 17.12.2014
Content: php-zapisatj-chisla-slovami-i-bukvami.zip 2,79 kB
Seller will give you a gift certificate in the amount of
Product description
Turnkey script for converting numbers to text. The script is written in PHP.
The script allows you to write a number of words. The number of digits will be translated into written letters (words). You can print the value in rubles / kopecks, dollar / cents euro / cents, UAH / penny. The maximum number - ninety-nine trillion.
It allows you to specify the type of output:
- Record the number of words (all integers)
- Record the number of words + add rubles and kopecks (RUB),
- Record the number of words + add dollars and cents (USD),
- Record the number of words + add euros and cents (EUR).
- Record the number of words + add hryvnia penny (UAH) in Russian.
- Works with integer and fractional monetary values.
Limit notation for integer values, for example rubles:
number 99999999999999 "ninety-nine trillion nine hundred ninety-nine billion nine hundred ninety-nine million nine hundred ninety-nine thousand nine hundred ninety-nine rubles 00 kopecks."
- Limit notation for fractional monetary values, for example rubles a penny:
999999999999.99 number "nine hundred ninety-nine billion nine hundred ninety-nine million nine hundred ninety-nine thousand nine hundred ninety-nine rubles 99 kopecks."
- Separator for fractional currency is a symbol of a "point".
- Pennies and cents are displayed numbers.
Additional information
Examples of recording ========== ========== words
10 words will be written as "ten."
452 words will be written as "four hundred fifty-two."
987654321 words will be written as "nine hundred eighty-seven million six hundred fifty-four thousand three hundred twenty-one."
Example of converting Russian Rubles: 12.57 twelve rubles 57 kopecks
Example transfer dollars: 12.57 twelve dollars 57 cents
Example transfer Euro: 12.57 twelve euro 57 cents
Example transfer hryvnia: 57 hryvnia 12.57 twelve cents.
========== ========== Settings script
Output Type:
number, rubles / kopecks dollars / cents, the euro / cents, hryvnia / penny
PHP function:
numToWord (12); to display the number of words.
numToWord (12.57, ´RUB´); for output in rubles and kopecks.
numToWord (12.57, ´USD´); to bring in dollars and cents.
numToWord (12.57, ´EUR´); to display in euros and cents.
numToWord (12.57, ´UAH´); to bring in hryvnias and kopecks (in Russian).
========== ========== Needs
PHP and 5 above.
========== ========== Not required
MySQL - Database.
GD library - a graphics library php.
Javascript
========== ========== The simplicity of the script
Even a little familiar with the language of PHP people can understand and change the script to himself because each line of code has its own description.
========== ========== License
Do not:
1.Pereprodazha PHP scripts on this and other sites.
2.Publichnaya publication of the code scripts.
3.Prisvoenie authorship.
Permission is granted to:
Install script for an unlimited number of its sites, edit the code.
Feedback
0Period | |||
1 month | 3 months | 12 months | |
0 | 0 | 0 | |
0 | 0 | 0 |