doubleValue

open override fun doubleValue(exactRequired: Boolean): Double

Narrow to a double.

Parameters

exactRequired

if false, precision can be lost. If true, the current absolute value must be between Double.MAX_VALUE and Double.MIN_VALUE, with 16 or less digits of precision.

Throws

if exactRequired is true and any of the above conditions not met