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.164 -- Release Build+6702c515f0dd5ff2666fab734b3300f444325a3e
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