Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 406 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 406 Bytes

jnumjs

What is it?

Screenshot

This code was rapidly adapted from old PHP code I wrote in college many years ago (caveat emptor!).

Usage

See index.html. Generally it should be used like:

var result = convertNumber('Hiragana', '39.2');
// result = 'sanjuu kyuu ten ni';

Note that it expects a string as input.