Esempio n. 1
0
        public INumber Convert()
        {
            if (_number.Base == Base)
            {
                return(_number);
            }

            var number = ConverterService.ConvertToBase(_number, Base);

            return(new BinaryNumber(number.ToString()));
        }