FMTBcd (binary coded decimal format)

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

FMTBcd (binary coded decimal format)

Return to chapter overview

The FMTBcd structure describes the format for binary coded decimal, using the following fields:

Field

Type

Description

iPrecision

BYTE

Any specified number between 1 to 64 is considered valid.

iSignSpecialPlaces

BYTE

Specifies the following values:
sign bit on: negative number
special bit on: number is blank
places: number of decimals (0 to iPrecision).

iFraction[32]

BYTE

Specifies an array of BCD nibbles, 00 to 99 per byte, high nibble first. The number of significant nibbles in iFraction is iPrecision; the rest are ignored.

See Also

DbiBcdToFloat, DbiBcdFromFloat