static public String randomPositiveFloat(int whole,int decimal){
  StringBuilder output=new StringBuilder();
  output.append(rnd.nextInt(8) + 1);
  for (int i=0; i < whole - 1; i++) {
    output.append(rnd.nextInt(9));
  }
  output.append(".");
  for (int i=0; i < decimal; i++) {
    output.append(rnd.nextInt(9));
  }
  return output.toString();
}

static public String randomPositiveFloat ( int whole , int decimal ) { StringBuilder output = new StringBuilder ( ) ; output . append ( rnd . nextInt ( 8 ) + 1 ) ; for ( int i = 0 ; i < whole - 1 ; i ++ ) { output . append ( rnd . nextInt ( 9 ) ) ; } output . append ( "." ) ; for ( int i = 0 ; i < decimal ; i ++ ) { output . append ( rnd . nextInt ( 9 ) ) ; } return output . toString ( ) ; }
get a random , positive float
