Posted: 20 Mar 2019 6:21 EDT Last activity: 17 Sep 2019 7:57 EDT
Restrict an user to certain decimal points
I need to restrict a decimal property to 2 decimals (For ex; User should not be able to enter after 2.12). I tried using pyDecimalPrecision in property but that is not working as expected. It is rouding off to highest number.
Can any one know the exact solution on how to prevent user after entering two numbers after decimal.
You can use integer,number or currency control and give decimal places 2 in read only format in presentation tab and enable checkbox "Display value using read-only formatting" .Using this user can enter any number like 23.2345 but once user leave focus it will get converted to 23.23 automatically.