question: public String randomPositiveFloat ( Object owhole , Object odecimal ) { int whole = FunctionHandler . getInt ( owhole ) ; int decimal = FunctionHandler . getInt ( odecimal ) ; 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 ( ) ; }
target:  Get a random, positive float