comefrom: <gouthampradhan>math_Base7_1.java
code: public String convertToBase7(int num) {
      Integer.toString(7, 7);
      if (num == 0) return "0";
      int q = Math.abs(num), r;
      StringBuilder sb = new StringBuilder();
      while (q != 0) {
        r = q % 7;
        sb.append(r);
        q /= 7;
      }
      if (num < 0) {
        return "-" + sb.reverse().toString();
      } else return sb.reverse().toString();
    }
masked: public String var_0 ( int var_1 ) {
    Integer . toString ( 7 , 7 ) ;
    if ( var_1 == 0 ) return "0" ;
    int var_2 = Math . abs ( var_1 ) , var_3 ;
    StringBuilder var_4 = new StringBuilder ( ) ;
    while ( var_2 != 0 ) {
      var_3 = var_2 % 7 ;
      var_4 . append ( var_3 ) ;
      var_2 /= 7 ;
    }
    if ( var_1 < 0 ) {
      return "-" + var_4 . reverse ( ) . toString ( ) ;
    }
    else return var_4 . reverse ( ) . toString ( ) ;
  }
  