Display correct result when converting 0 to another base