RDM_BCD_T Struct Reference

The RaimaDB Binary Coded Decimal (BCD) data structure. More...

#include "rdmbcdtypes.h"

Data Fields

uint8_t prec
int8_t exp
uint8_t flags
int8_t sign
uint8_t data [32+1]

Detailed Description

The RaimaDB Binary Coded Decimal (BCD) data structure.

Examples
core18Example_main.c, learn/bookStore_client.c, learn/bookStore_embed.c, and learn/bookStore_vxWorks7.c.

Field Documentation

data

uint8_t RDM_BCD_T::data[32+1]

Fraction

exp

int8_t RDM_BCD_T::exp

The exponent in base 10 that the fraction should be adjusted with

flags

uint8_t RDM_BCD_T::flags

For internal use only. Should be set to 0

prec

uint8_t RDM_BCD_T::prec

The number of decimals after the decimal point

sign

int8_t RDM_BCD_T::sign

The sign were 1 indicate a positive numbers and -1 a negative numbers


The documentation for this struct was generated from the following file: