0 Members and 3 Guests are viewing this topic.
PROGRAM:BASECONV:Input Str1:Ans→A:Ans(2→A:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ→Str2:length(Str1:sum(seq(LA(1)^(Ans-A)(inString(Str2,sub(Str1,A,1))-1),A,1,Ans→B:"░ // one space:For(C,1,log(AB+1)/log(A:sub(Str2,int(E5×√2+AfPart(B/A^C)),1)+Ans:End:Ans
{16,10:prgmBASECONV?7C► 124
{<Base in>,<Base to be converted to>:prgmBASECONVInput Number► Answer
Weregoose wrote that code I posted, not me Sorry if that wasn't clear.