Modified xlhtml.c to not lose digits on whole numbers.
This commit is contained in:
parent
ccacf8d04a
commit
1374f15231
@ -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
|
||||
|
||||
|
@ -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); */
|
||||
|
Loading…
Reference in New Issue
Block a user