GLib.Variant.prototype.get_double

function get_double(): Number(gdouble) {
    // Gjs wrapper for g_variant_get_double()
}
  

Returns the double precision floating point value of value.

It is an error to call this function with a value of any type other than %G_VARIANT_TYPE_DOUBLE.

Since 2.24

Returns

a #gdouble