RichUtils / pyxis.uzuki.live.richutilskt.utils / kotlin.String / safeDouble

safeDouble

@JvmOverloads fun String.safeDouble(default: Double = 0.0): Double

safe cast String to Double

Parameters

default - Double

Receiver
String

Return
Double