Gemstone Numeric Library
Show/Hide TOC

# BinaryCodedDecimal Class

Defines functions related to binary-coded decimals.

## Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.151 -- Release Build+7457849808f12b308a45246cb6b53ce4d151298c
C#
View Source Request Example

    public static class BinaryCodedDecimal

VB
View Source Request Example

    Public NotInheritable Class BinaryCodedDecimal

C++
View Source Request Example

    public ref class BinaryCodedDecimal abstract sealed

JavaScript
View Source Request Example

    Gemstone.Numeric.BinaryCodedDecimal = function();

    Type.createClass(
    	'Gemstone.Numeric.BinaryCodedDecimal');

Inheritance
  Object BinaryCodedDecimal

## Remarks

See Binary-coded decimal for details.

## Methods

Decode(Byte) | Gets binary value from binary-coded decimal.
Decode(UInt16) | Gets binary value from two-byte binary-coded decimal.
Decode(UInt32) | Gets binary value from four-byte binary-coded decimal.
Decode(UInt64) | Gets binary value from eight-byte binary-coded decimal.
Encode(Byte) | Gets binary-coded decimal from binary value.
Encode(UInt16) | Gets binary-coded decimal from binary value.
Encode(UInt32) | Gets binary-coded decimal from binary value.
Encode(UInt64) | Gets binary-coded decimal from binary value.

## See Also

#### Reference

Gemstone.Numeric Namespace