decodeToDoubleOrNull

inline fun Asn1Primitive.decodeToDoubleOrNull(assertTag: Asn1Element.Tag = Asn1Element.Tag.REAL): Double?(source)

Exception-free version of decodeToDouble. Beware of possible loss of precision!