jl66
asked on
how to convert a binary to a decimal?
Given one string consisting of numbers which actually corresponds to a real big binary number(>0), how to convert it to a decimal string in java. For example,
"1001000100011111011011010 0010100001 0011001001 0100101000 1100000011 1011111100 1110100010 1101111101 0011011011 1110011000 1100011001 001101001" in binary =
"1234567891011121314151617 1819202122 232425" in decimal
"1001000100011111011011010
"1234567891011121314151617
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If we restrict the binary number to be <=2^128, is it a bit easy to resolve it?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot. Very helpful.
ASKER