Skip to Content
Menu
This question has been flagged
1 Reply
3400 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Dec 19
3873
2
Jul 24
2902
1
Jun 24
5334
1
Oct 23
11070
1
Oct 23
98