1 line
\n        return Integer.toString(Integer.parseInt(num+"", 10), 7); \nor just:         \n\n          return Integer.toString(num, 7);\n\nThe formula for convert
\n        return Integer.toString(Integer.parseInt(num+"", 10), 7); \nor just:         \n\n          return Integer.toString(num, 7);\n\nThe formula for converting from one base to another is: \n\n         return Integer.toString(Integer.parseInt(number, base1), base2);
[]