Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3235 Представления

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 

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 19
3706
2
июл. 24
2593
1
июн. 24
5057
1
окт. 23
10727
1
окт. 23
98