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

41.3. PartyHoursCell.__float__()

cbchistlib.py
# - - -   P a r t y H o u r s C e l l . _ _ f l o a t _ _

    def __float__(self):
        '''Return self's value for statistical purposes.
        '''
        if self._total is None:
            return -1.0
        else:
            return self._total