GitXplorerGitXplorer
s

php-Word-Integers

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
198dab2afa4af4052276fa8878a0e7c0a8cdd971

Add a hash lookup to speed things up

sscottchiefbaker committed 3 years ago
Unverified
6689d4e9cfd8d892195e11c8901edddf10f4c65b

Make the README symetrical

sscottchiefbaker committed 7 years ago
Unverified
caa83093e2c5b9b532d35430b267e367d8bcf3a4

Couple of comments for readability

sscottchiefbaker committed 7 years ago
Unverified
60430958b623375b1f13aa01decf7c83f29e7c5f

Merge branch 'master' of github.com:scottchiefbaker/php-Word-Integers

sscottchiefbaker committed 7 years ago
Unverified
070974b0772247a6ce5167c1f36c5fc08f4aea12

Update the internal documentation

sscottchiefbaker committed 7 years ago
Verified
922d966e9ee04f5821fcc376c7a321def6dcf9ed

Update docs

sscottchiefbaker committed 7 years ago

README

The README file for this repository.

PHP-Word-Integers

PHP class that converts numbers to words strings and vice versa. Similar to GfyCat/Twitch's URL naming scheme.

Usage:

require("wordInt.class.php");

$word   = wordInt::number_to_string(1234567890);
$number = wordInt::string_to_number("ConveyNovaAiry");

Uses a dictionary.txt file for the mapping. The dictionary must be located in the same directory as the PHP class file.

Alternatives: