Subject: | documentation error in NUMWORDS |
The docs say that this code:
$words = NUMWORDS(555_1202, group=>1, one=>'unity');
Will yield:
# "five, five, five, unity, two, oh, two"
The "oh" is an artifact from the previous example. It would actually yield "zero" for 0. Either the output string should be corrected, or the arguments to NUMWORDS.
--
rjbs