This function extend Number.toString() and parseInt(), you can define base number and convert string table yourself.