mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Fix the forming of fraction part in comma.cal
This commit is contained in:
@@ -175,7 +175,7 @@ define str_comma(x, group, decimal)
|
|||||||
* convert digits
|
* convert digits
|
||||||
*/
|
*/
|
||||||
int_str = strprintf("%d", integer);
|
int_str = strprintf("%d", integer);
|
||||||
frac_str = strprintf("%f", fraction);
|
frac_str = strprintf("%d", fraction);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* determine number of digits in the integer part
|
* determine number of digits in the integer part
|
||||||
|
Reference in New Issue
Block a user