Use a typedef for monetary values

Rebased and bike-shed version of #4234