GLib.random_double_range

function random_double_range(begin: Number(gdouble), end: Number(gdouble)): Number(gdouble) {
    // Gjs wrapper for g_random_double_range()
}
  

Returns a random #gdouble equally distributed over the range [begin..end).

begin

lower closed bound of the interval

end

upper open bound of the interval

Returns

a random number