API 参考
    正在准备搜索索引...

    A class representation of the BSON Decimal128 type.

    层级 (查看层级一览)

    索引

    构造函数

    属性

    访问器

    方法

    构造函数

    • 参数

      • bytes: string | Uint8Array<ArrayBufferLike>

        a buffer containing the raw Decimal128 bytes in little endian order, or a string representation as returned by .toString()

      返回 Decimal128

    属性

    bytes: Uint8Array

    访问器

    • get _bsontype(): "Decimal128"

      返回 "Decimal128"

    方法

    • 返回 string

    • 返回 Decimal128Extended

    • Create a string representation of the raw Decimal128 value

      返回 string

    • Create a Decimal128 instance from a string representation

      参数

      • representation: string

        a numeric string representation.

      返回 Decimal128