
Patrick Rome Williamson - 2011-08-11 13:19:38
Don't mean to be a stickler, just trying to help out. Your example script has the line --
echo $wordtonumber->convertToNumbers("fourty five million"); // should return 45000000
-- "fourty" is not the correct English spelling of the word, the correct way is "forty". So either your example is wrong or the class needs modified. Sorry.
This is a fantastic class I'm looking forward to using.