TextualNumber Class 1.0
TextualNumber Class is a class for generating textual representations of numbers. It is useful for protecting forms from auto-submission, or using in accounting applications. The class is very easy to implement in your own applications.
Despite appearances the number should (though isn't required) be passed in as a string. This allows large numbers to be converted. Integers are handled just fine though. Negative numbers are handled fine.
The billion/trillion etc suffixes are done using the American style (eg 9 zeros for billion, 12 for trillion), which albeit being mathmetically incorrect, is the commonly accepted norm. Since this code was written for the purpose of validating human vs spider form submissions, this is the more appropriate way to go.