Table of Contents

Method Parse

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Parse(string)

Converts the string representation of a number to its Decimal128 equivalent.

public static Decimal128 Parse(string s)

Parameters

s string

The string representation of the number to convert.

Returns

Decimal128

The equivalent to the number contained in s.