GLib.Variant.new_double
Description: Reference for GLib.Variant.new_double

### Function

# GLib Variantnew_double

since: 2.24

#### Declaration

    GVariant*
    g_variant_new_double (
      gdouble value
    )

#### Description

Creates a new double `GVariant` instance.

Available since: 2.24

#### Parameters

`value`

  Type: `gdouble`

  A #gdouble floating point value.

#### Return value

Type: `GVariant`

A floating reference to a new double `GVariant` instance.

The data is owned by the called function.