Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3541 Vistas

hello guys, i want to make something like this in float field, if the value is "10.00" then it become "10" and if the value 10.2550 it will become "10.255" in one2many field tree views 

Avatar
Descartar
Mejor respuesta

Hi,

Just use the following link for your current problem.Use the following for formatting your field

https://stackoverflow.com/questions/13097099/how-to-make-python-print-1-as-opposed-to-1-0

Regards

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 19
4009
2
jul 24
3132
1
jun 24
5519
1
oct 23
11403
1
oct 23
98