BSONDecimal128
public struct BSONDecimal128 : Equatable, Hashable, CustomStringConvertible
A struct to represent the BSON Decimal128 type.
-
Declaration
Swift
public var description: String { get }
-
Initializes a new
BSONDecimal128
from the input string.Throws
BSONError.InvalidArgumentError
if the input is not a valid Decimal128 string.Declaration
Swift
public init(_ data: String) throws