double toDouble( )

Return this num as a double.

If the number is not representable as a double, an approximation is returned. For numerically large integers, the approximation may be infinite.

Source

/**
 * Return this [num] as a [double].
 *
 * If the number is not representable as a [double], an
 * approximation is returned. For numerically large integers, the
 * approximation may be infinite.
 */
double toDouble();