FirebaseFirestore Framework Reference

Decimal128Value

class Decimal128Value : NSObject, NSCopying, @unchecked Sendable

Represents a 128-bit decimal number type in Firestore documents.

  • The string representation of the 128-bit decimal value.

    Declaration

    Swift

    var value: String { get }
  • Creates a Decimal128Value with the given value.

    Declaration

    Swift

    init(_ value: String)

    Parameters

    value

    The string representation of the number to be stored.

  • Returns true if the given object is equal to this, and false otherwise.

    Declaration

    Swift

    func isEqual(_ object: Any?) -> Bool