Implemented Digits and Magnitude.