Represents a 128-bit decimal type in Firestore documents.

Decimal128Value

**Signature:**

    export declare class Decimal128Value 

## Constructors

| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(value)](https://firebase.google.com/docs/reference/js/firestore.decimal128value#decimal128valueconstructor) |   | Constructs a new instance of the `Decimal128Value` class |

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [stringValue](https://firebase.google.com/docs/reference/js/firestore.decimal128value#decimal128valuestringvalue) |   | string |   |

## Methods

| Method | Modifiers | Description |
|---|---|---|
| [isEqual(other)](https://firebase.google.com/docs/reference/js/firestore.decimal128value#decimal128valueisequal) |   | Returns true if this `Decimal128Value` is equal to the provided one. |
| [toJSON()](https://firebase.google.com/docs/reference/js/firestore.decimal128value#decimal128valuetojson) |   | Returns a JSON-serializable representation of this `Decimal128Value` instance. |

## Decimal128Value.(constructor)

Constructs a new instance of the `Decimal128Value` class

**Signature:**

    constructor(value: string);

#### Parameters

| Parameter | Type | Description |
|---|---|---|
| value | string |   |

## Decimal128Value.stringValue

**Signature:**

    readonly stringValue: string;

## Decimal128Value.isEqual()

Returns true if this `Decimal128Value` is equal to the provided one.

**Signature:**

    isEqual(other: Decimal128Value): boolean;

#### Parameters

| Parameter | Type | Description |
|---|---|---|
| other | [Decimal128Value](https://firebase.google.com/docs/reference/js/firestore.decimal128value#decimal128value_class) | The `Decimal128Value` to compare against. 'true' if this `Decimal128Value` is equal to the provided one. |

**Returns:**

boolean

## Decimal128Value.toJSON()

Returns a JSON-serializable representation of this `Decimal128Value` instance.

**Signature:**

    toJSON(): object;

**Returns:**

object

a JSON representation of this object.