toStrictlyPositiveDouble

@ExperimentalSinceKotoolsTypes(version = "4.2")
fun Number.toStrictlyPositiveDouble(): Result<StrictlyPositiveDouble>

Returns this number as an encapsulated StrictlyPositiveDouble, which may involve rounding or truncation, or returns an encapsulated IllegalArgumentException if this number is negative.