Modified xlhtml.c to not lose digits on whole numbers.
This commit is contained in:
parent
ccacf8d04a
commit
1374f15231
@ -1,5 +1,4 @@
|
||||
xlHtml ChangeLog
|
||||
|
||||
xlHtml ChangeLog
|
||||
|
||||
0.4.9.4
|
||||
*Fixed some memory leaks
|
||||
|
@ -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