Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3609 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 19
4130
1
ott 25
11678
2
lug 24
3334
1
giu 24
5716
1
ott 23
98