# Double constructor

const Double(

1. double _value

)

Creates a Double with the specified value.

value the double value to wrap

A wrapper class for double that provides Java-like functionality and methods.

This class wraps Dart's primitive double type and provides additional utility methods similar to Java's Double class.

Example usage:

    Double a = Double(3.14);
    Double b = Double.valueOf(2.71);
    Double c = Double.parseDouble("1.618");

    print(a.toString()); // "3.14"
    print(a.compareTo(b)); // 1 (since 3.14 > 2.71)

## Implementation

    const Double(this._value);