change default precision from 0 to 6

This commit is contained in:
Marty Kraimer
2001-07-10 18:29:34 +00:00
parent 9e451e8f32
commit 54fee9f016
2 changed files with 6 additions and 6 deletions

View File

@@ -1567,7 +1567,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);
@@ -1767,7 +1767,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);
@@ -3775,7 +3775,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;
@@ -3976,7 +3976,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

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