I have a float field and i can calculate amount within this field. I want that amount should show in round figure. For eg. when price is 64.80 then it updated to 65 and if price 64.40 then it updated to 64. So, what solution i could use? 
Thanks in advance.
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
 - e-Commerce
 - Contabilidad
 - Inventario
 - PoS
 - Project
 - MRP
 
Se marcó esta pregunta
            
                2
                
                    Respuestas
                
            
        
        
            
                4350
                
                    Vistas
                
            
        
    you can use python's round() function
Problem solved by just using 'round'. For eg. round(amount). 
Thanks.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
| 
             | 
        
            
                
                2
            
            
             oct 18  
         | 
        7250 | ||
| 
             | 
        
            
                
                0
            
            
             ago 22  
         | 
        3112 | ||
| 
             | 
        
            
                
                1
            
            
             jul 22  
         | 
        20905 | ||
| 
             | 
        
            
                
                0
            
            
             abr 22  
         | 
        3626 | ||
| 
             | 
        
            
                
                3
            
            
             sept 21  
         | 
        3876 |