Skip to Content
Menu
This question has been flagged
1 Reply
2810 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
3093
2
Jul 24
1521
1
Jun 24
4081
1
Oct 23
9487
1
Oct 23
98