Fix the forming of fraction part in comma.cal

This commit is contained in:
Landon Curt Noll
2022-06-20 19:10:20 -07:00
parent b97093e58c
commit 6fc14730c0

View File

@@ -175,7 +175,7 @@ define str_comma(x, group, decimal)
* convert digits
*/
int_str = strprintf("%d", integer);
frac_str = strprintf("%f", fraction);
frac_str = strprintf("%d", fraction);
/*
* determine number of digits in the integer part