computing dollar values