Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3517 Widoki

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 

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 19
3997
2
lip 24
3106
1
cze 24
5496
1
paź 23
11369
1
paź 23
98