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
BSONDecimal128from the input string.Throws
BSONError.InvalidArgumentErrorif the input is not a valid Decimal128 string.Declaration
Swift
public init(_ data: String) throws
View on GitHub
Install in Dash
BSONDecimal128 Structure Reference