On 5/14/13 7:10 PM, John Fabiani wrote:
> On 05/14/2013 06:06 PM, Paul McNett wrote:
>> On 5/14/13 6:26 AM, Ed Leafe wrote:
>>> On May 14, 2013, at 8:08 AM, John Fabiani <[email protected]> wrote:
>>>
>>>>     def _setRenderer(self):
>>>>         if self.Precision:
>>>>             implicitPrecision = False
>>>>         else:
>>>>             implicitPrecision = True
>>>>
>>>>         self._setDataTypeFromDataField(implicitPrecision)
>>>     Much simpler:
>>>
>>>     def _setRenderer(self):
>>>         self._setDataTypeFromDataField(not self.Precision)
>> Does this fix the root issue?
>>
> You bet!

Well here's the thing. Precision is an int, and what if I'd set Precision to 0
explicitly? With this change, I'd be seeing decimal places, no?

Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to