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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
            
                1
                
                    回覆
                
            
        
        
            
                4173
                
                    瀏覽次數
                
            
        
    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  | 6142 | ||
|  | 2 12月 22  | 7441 | ||
|  | 3 3月 15  | 6429 | ||
|  | 2 3月 22  | 21785 | ||
|  | 1 1月 24  | 5315 | 
