asDoubleOrNull

Returns this value as a Double, or null if the value is null or not a number.