Thousand separator using
#python #format #thousand_separator
format in python:your_number = 35200000
print '{:,}'.format(your_number)
#python #format #thousand_separator
How to use thousand separator in
The python way is to use
And in
#python #jinja2 #separator #thousand_separator
Python & Jinja2?The python way is to use
format as below:'user credit is {:,}'.format(10000)And in
Jinja2 it is like the following line:user credit is {{ '{0:,}'.format(user_credit | int) }}#python #jinja2 #separator #thousand_separator