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.
Thankyou everyone for your comments. They are very helpful.
I had written an edit input rule and solve my requirement.
Keep up to date on this post and subscribe to comments