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
3398 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
3871
2
lip 24
2901
1
cze 24
5332
1
paź 23
11068
1
paź 23
98