make default precision 6 instead of 0

This commit is contained in:
Marty Kraimer
2001-07-03 12:49:01 +00:00
parent 6db46f8890
commit 5ff1a8f2a3
2 changed files with 6 additions and 6 deletions

View File

@@ -1551,7 +1551,7 @@ static long getFloatString(
char *pbuffer = (char *)pto;
float *psrc=(float *)(paddr->pfield);
long status = 0;
int precision = 0;
int precision = 6;
struct rset *prset = 0;
if(paddr) prset = dbGetRset(paddr);
@@ -1751,7 +1751,7 @@ static long getDoubleString(
char *pbuffer = (char *)pto;
double *psrc=(double *)(paddr->pfield);
long status = 0;
int precision = 0;
int precision = 6;
struct rset *prset = 0;
if(paddr) prset = dbGetRset(paddr);
@@ -3759,7 +3759,7 @@ static long putFloatString(
float *pbuffer = (float *)pfrom;
char *pdest=(char *)(paddr->pfield);
long status = 0;
int precision = 0;
int precision = 6;
struct rset *prset = 0;
short size=paddr->field_size;
@@ -3960,7 +3960,7 @@ static long putDoubleString(
double *pbuffer = (double *)pfrom;
char *pdest=(char *)(paddr->pfield);
long status = 0;
int precision = 0;
int precision = 6;
struct rset *prset = 0;
short size=paddr->field_size;

View File

@@ -796,7 +796,7 @@ static long cvt_f_st(
{
struct rset *prset = 0;
long status = 0;
long precision = 0;
long precision = 6;
if(paddr) prset = dbGetRset(paddr);
@@ -877,7 +877,7 @@ static long cvt_d_st(
{
struct rset *prset = 0;
long status = 0;
long precision = 0;
long precision = 6;
if(paddr) prset = dbGetRset(paddr);