A class which can operate beg decimals