Correct for negative NDIGIT.