public Percent(int decexp){
  factor=Math.pow(10,decexp);
}

public Percent ( int decexp ) { factor = Math . pow ( 10 , decexp ) ; }
creates new instance of percent formatter with the defined decimal exponent . the values are computed as value / math . pow ( 10 , decexp ) .
