public static int main () {
Variant var1 = new Variant.double (10.9);
// Output: ``10.900000``
print ("%f\n", var1.get_double ());
// Output: ``10.900000``
print ("%f\n", (double) var1);
return 0;
}
valac --pkg glib-2.0 GLib.Variant.get_double.vala