asDecimalString(precision:exponential:)

self as a Decimal String with a specified precision, possibly using exponential notation

BigFrac.swift:343
func asDecimalString(precision: Int, exponential: Bool = false) -> String

Parameters

precision

The number of significant digits

exponential

true to use exponential notation, false to use plain notation, default is false

Returns

self as a decimal String