Decimal128Value

class Decimal128Value(val stringValue: String)(source)

A 128-bit decimal, mirroring com.google.firebase.firestore.Decimal128Value from the Firebase Android SDK. Values are equal when they are numerically equal (1.0 and 1, 0 and -0, NaN and NaN), as on Android, where the SDK compares them as 128-bit binary floating-point numbers; here they are compared exactly as decimals, which differs only for values beyond that precision or range.

Throws

Constructors

Link copied to clipboard
constructor(stringValue: String)

Properties

Link copied to clipboard

The decimal as written: NaN, Infinity, +Infinity, -Infinity or a number such as -1.5e-3 ([+-]?[0-9]*(\.[0-9]*)?([eE][+-]?[0-9]+)? with at least one digit).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String