Next / Previous / Contents / Shipman's homepage

9.1. FoDim.__init__(): Constructor

fohelpers.py
# - - -   F o D i m . _ _ i n i t _ _

    def __init__(self, n, units):
        '''Constructor
        '''
        self.n = Decimal(n)
        self.units = units