Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3244 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
dez. 19
3713
2
jul. 24
2613
1
jun. 24
5090
1
out. 23
10779
1
out. 23
98