Base Conversion

procedure convertN(n,b where b >1)
q := n
k := 0
while(q != 0)
    ak := q mod b
    q := q div b
result{ak-1,...,a0}

results matching ""

    No results matching ""