Open aborruso opened 1 year ago
Hi, I need to have integer number in Italian representation, in which the thousand separator is the .. For 9200, in Italy we have 9.200.
.
9200
9.200
If run print(tabulate([["a",9200]], intfmt=",")) I have 9,200, but if I set intfmt="." I have ValueError: Format specifier missing precision error.
print(tabulate([["a",9200]], intfmt=","))
9,200
intfmt="."
ValueError: Format specifier missing precision
Is there a way to set locale.setlocale(locale.LC_ALL, 'it_IT.UTF-8') and use it to render 9200 int as 9.200?
locale.setlocale(locale.LC_ALL, 'it_IT.UTF-8')
Thank you
Hi, I need to have integer number in Italian representation, in which the thousand separator is the
.
. For9200
, in Italy we have9.200
.If run
print(tabulate([["a",9200]], intfmt=","))
I have9,200
, but if I setintfmt="."
I haveValueError: Format specifier missing precision
error.Is there a way to set
locale.setlocale(locale.LC_ALL, 'it_IT.UTF-8')
and use it to render9200
int as9.200
?Thank you