Re: write checks challenge



While $2535 could indeed be written as "twenty five hundred thirty
five," without causing ambiguity, an algorithm to automate the writing
would not have to follow this, as long as what is written is completely
unambiguous, for the reason you note. Actually, if I were writing the
check, I would write "Two Thousand Five Hundred Thirty Five..."

Now, if you were to write an algorithm that parsed the written form
back into a value, all sorts of weird things would have to be
considered for the sake of completeness. I do wonder if
check-processing procedures take a crack at deciphering written amounts
(words and numbers) and compare resulting values for consistency.
Perhaps someone from the banking industry could comment.

.


Quantcast