of

fun of(real: BigDecimal): Real
fun of(real: Double): Real
fun of(real: Float): Real

Creates a Real with the given real value.


fun of(real: String): Real

Parses real into a Real.

Throws

if real is not a valid decimal literal