Move `extract_precision` onto type objects

`money_precision` also felt out of place, so it has been moved onto the money type.