GLib.Variant.new_double
function new_double(value: Number(gdouble)): GLib.Variant {
// Gjs wrapper for g_variant_new_double()
}
Creates a new double GLib.Variant instance.
Since 2.24
- value
a #gdouble floating point value
- Returns
a floating reference to a new double GLib.Variant instance