Class: Decimal128

Decimal128

A class representation of the BSON Decimal128 type.

Name Type Description
bytes Buffer

a buffer containing the raw Decimal128 bytes.

Methods

Create a string representation of the raw Decimal128 value

Returns:
a Decimal128 string representation.

staticDecimal128.fromString(string){Decimal128}

Create a Decimal128 instance from a string representation

Name Type Description
string string

a numeric string representation.

Returns:
a Decimal128 instance.
comments powered by Disqus