Please see the comment for tensToWords().