private static void Test03c() { BigNumberConverter conv = new BigNumberConverter(); conv.Number = new BigNumber("11111111111111111111111111111111111111111111111111111111111111111111111111");; conv.ConvertHexadecimal(); Console.WriteLine(conv.Result); }
private static void Test05b() { BigNumberConverter conv = new BigNumberConverter(); conv.Number = new BigNumber("123456789"); Console.Write("{0}: ", conv.Number); conv.ConvertDualBCD(); Console.WriteLine(conv.Result); }
private static void Test04c() { BigNumberConverter conv = new BigNumberConverter(); conv.Number = new BigNumber("256"); Console.Write("{0}: ", conv.Number); conv.ConvertBinary(); Console.WriteLine(conv.Result); conv.Number = new BigNumber("4096"); Console.Write("{0}: ", conv.Number); conv.ConvertBinary(); Console.WriteLine(conv.Result); conv.Number = new BigNumber("2475880078570760549798248448"); Console.Write("{0}: ", conv.Number); conv.ConvertBinary(); Console.WriteLine(conv.Result); }