Hi, when i have a big number(eg : 458922211,99 ), i want to display the spaces between the number (458 922 211,99). How to do that ? thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- 프로젝트
- MRP
신고된 질문입니다
1
회신
4298
화면
Hi nailyk, In your report.py, do as per following changes,
for example,
import re
a = 458922211
b = str(a)
c = re.findall('.{%s}'%3,b)
print "list:::",c
d = ' '.join(c)
print "Final Output:::",d
Output,
list::: ['458', '922', '211']
Final Output::: 458 922 211
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
1
3월 15
|
6339 | ||
|
|
2
12월 22
|
7635 | ||
|
|
3
3월 15
|
6628 | ||
|
|
2
3월 22
|
22031 | ||
|
|
1
1월 24
|
5529 |