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.158 -- Release Build+3874b6709118ff35f396fdd2fedd12aeea51803e
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