Decimal128 | mongodb (original) (raw)
Hierarchy (view full)
- BSONValue
- Decimal128
Index
Constructors
constructor
- new Decimal128(bytes): Decimal128
Parameters
- bytes: string | Uint8Array
Returns Decimal128
Properties
Readonly
bytes
bytes: Uint8Array
Accessors
_bsontype
- get _bsontype(): "Decimal128"
Returns "Decimal128"
Methods
inspect
- inspect(depth?, options?, inspect?): string
Parameters
Optional
depth: numberOptional
options: unknownOptional
inspect: InspectFn
Returns string
toJSON
- toJSON(): Decimal128Extended
Decimal128Extended
Returns
toString
- toString(): string
Returns string
Static
fromString
- fromString(representation): Decimal128
Parameters
- representation: string
Returns Decimal128
Static
fromStringWithRounding
- fromStringWithRounding(representation): Decimal128
Parameters
- representation: string