Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3185 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
3633
2
jul 24
2452
1
jun 24
4968
1
oct 23
10641
1
oct 23
98