change number on different bases