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.171 -- Release Build+20915b5e5c2b832e94890ea4187a61c474a2582a
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