public double fixedDecimalNumber(int decimal, double min, double max) {
    """
	Return an fixed decimal double value in the (inclusive) range [minimum,
	maximum]. For example, [0.01 .. 100.00] with decimal 2 has 10,000 unique
	values.
    """
		if (min > max)
			throw new IllegalArgumentException();
		if (decimal < 0)
			throw new IllegalArgumentException();
		int multiplier = 1;
		for (int i = 0; i < decimal; ++i) {
			multiplier *= 10;
		}
		int top = (int) (min * multiplier);
		int bottom = (int) (max * multiplier);
		return (double) number(top, bottom) / (double) multiplier;
	}
public double fixedDecimalNumber(int decimal, double min, double max) {
		if (min > max)
			throw new IllegalArgumentException();
		if (decimal < 0)
			throw new IllegalArgumentException();
		int multiplier = 1;
		for (int i = 0; i < decimal; ++i) {
			multiplier *= 10;
		}
		int top = (int) (min * multiplier);
		int bottom = (int) (max * multiplier);
		return (double) number(top, bottom) / (double) multiplier;
	}
public double fixedDecimalNumber ( int decimal , double min , double max ) { if ( min > max ) throw new IllegalArgumentException ( ) ; if ( decimal < 0 ) throw new IllegalArgumentException ( ) ; int multiplier = 1 ; for ( int i = 0 ; i < decimal ; ++ i ) { multiplier *= 10 ; } int top = ( int ) ( min * multiplier ) ; int bottom = ( int ) ( max * multiplier ) ; return ( double ) number ( top , bottom ) / ( double ) multiplier ; }
Return an fixed decimal double value in the (inclusive) range [minimum,
maximum]. For example, [0.01 .. 100.00] with decimal 2 has 10,000 unique
values.
Return an fixed decimal double value in the ( inclusive ) range [ minimum maximum ] . For example [ 0 . 01 .. 100 . 00 ] with decimal 2 has 10 000 unique values .