[Python-ideas] SI scale factors alone, without units or dimensional analysis

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Aug 27 04:46:49 EDT 2016


Steven D'Aprano wrote:

>>Why is it obvious that you're expecting a float and not
>>a decimal in that case?
> 
> Because if you search the list archives you'll see that, in the short 
> term at least, I'm not in favour of changing the default floating point 
> type from binary floats to decimal floats *wink*

I only asked because earlier in the same post you said
you wanted 7981m to be decimal. Given that, I wouldn't
have guessed you wanted 1.1K to *not* be decimal.

-- 
Greg


More information about the Python-ideas mailing list