BlobReader.ReadDecimal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a Decimal number.
public:
System::Decimal ReadDecimal();
public decimal ReadDecimal ();
member this.ReadDecimal : unit -> decimal
Public Function ReadDecimal () As Decimal
Returns
Exceptions
The data at the current position was not a valid Decimal number.
Remarks
Decimal number is encoded in 13 bytes as follows:
- byte 0: highest bit indicates sign (1 for negative, 0 for non-negative); the remaining 7 bits encode scale.
- bytes 1..12: 96-bit unsigned integer in little endian encoding.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.