Modified xlhtml.c to not lose digits on whole numbers.

This commit is contained in:
slidedraw 2002-04-09 22:37:10 +00:00
parent ccacf8d04a
commit 1374f15231
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,6 @@
xlHtml ChangeLog
xlHtml ChangeLog
0.4.9.4
0.4.9.4
*Fixed some memory leaks
*Increased file name limit to 256 characters

View File

@ -3460,12 +3460,13 @@ static void output_formatted_data(uni_string *u, U16 idx, int numeric, int formu
}
else
{
num = atol((char *)u->str);
if (Csv)
printf("\"%.0g\"", dnum );
printf("%ld", num);
else if (OutputXML)
printf("%.0g", dnum );
printf("%ld", num );
else
printf("%.0g *", dnum );
printf("%ld *", num );
}
/* printf(" F:%02X", idx); */