[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extend methods of decimal module

On Fri, Feb 28, 2014 at 4:18 PM, Mark H. Harris <harrismh777 at gmail.com> wrote:
> do I make the assumption that all functions will take a string as argument and then let interactive users bare the responsibility to enter a string or decimal... avoiding floats...

Just have your users pass in Decimal objects. They can construct them
however they wish.