pub fn convbase(val: i64, base: u32) -> String
Convert integer to string with specified base Port from zsh/Src/utils.c convbase()