Table of Contents

Method ToByte

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToByte(Decimal128)

Converts the value of the specified Decimal128 to the equivalent 8-bit unsigned integer.

public static byte ToByte(Decimal128 d)

Parameters

d Decimal128

The number to convert.

Returns

byte

A 8-bit unsigned integer equivalent to d.