app / de.uniks.codliners.stock_simulator / kotlin.String / toSafeDouble

toSafeDouble

fun String?.toSafeDouble(): Double?

If possible, extracts a Double value from a String.

Receiver
The source String.

Return
Double value of the String if it exists or null otherwise.

Author
Jan Müller