Function JSONNumber.doubleValue

Returns the number as a double value.

double doubleValue () nothrow @property @nogc @trusted const;

double doubleValue () const nothrow @property @trusted;

double doubleValue (
  double value
) nothrow @property @nogc @safe;

Regardless of the current type of this number, this property will always yield a value converted to double. Setting this property will automatically update the number type to Type.double_.