Returns a random number from 1-9 (both inclusive)
()
| 20 | * Returns a random number from 1-9 (both inclusive) |
| 21 | */ |
| 22 | public int randomDigitNotZero() { |
| 23 | return decimalBetween(1,10).intValue(); |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * @see Number#numberBetween(long, long) |