make Whole <-> Decimal work