mercredi 2 janvier 2019

Convert ole db DB_NUMERIC to Double or float in c++

DB_Numeric is Defined in Oledb.h as

typedef struct tagDB_NUMERIC
{
BYTE precision;
BYTE scale;
BYTE sign;
BYTE val[ 16 ];
}   DB_NUMERIC;

how do we convert this into a double or a float to work with?

Aucun commentaire:

Enregistrer un commentaire