Get a random double from to (inclusive) @param f the from @param t the to @return the value
(double f, double t)
| 203 | * @return the value |
| 204 | */ |
| 205 | public static double drand(double f, double t) { |
| 206 | return f + (Math.random() * ((t - f) + 1)); |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * Get system Nanoseconds |