GLib.test_rand_double
function test_rand_double(): Number(gdouble) { // Gjs wrapper for g_test_rand_double() }
Get a reproducible random floating point number, see GLib.test_rand_int for details on test case random numbers.
Since 2.16
- Returns
a random number from the seeded random number generator.