Next / Previous / Contents / TCC Help System / NM Tech homepage

42.5. CensusCell.__float__()

See the remarks in Section 40, “class NumberCell: Base class for numeric table cells” for a discussion of how records are combined and the effective count is derived. For statistical purposes, we care only about the non-questionable, non-count-week records, which are accumulated in a CensusTotal instance in our attribute self._regular. See Section 43.4, “CensusTotal.__float__().
# - - -   C e n s u s C e l l . _ _ f l o a t _ _

    def __float__(self):
        '''Return self's statistical value as a float.
        #-- 1
        return float(self._regular)