getDouble

open fun getDouble(defaultValue: Double): Double

Gets the contained values as an double.

Return

The value as a double, or the defaultValue if the value is not a number.

Parameters

defaultValue

The default value if the contained value is not a number.