[number] Add overflow checks used to be done in parse_bcd

Which were removed in 1083df8
2 files changed