Posted: 17 Jun 2017 15:19 EDT Last activity: 18 Jun 2017 15:49 EDT
Truncate the value from Front End System
Could you please help me on below query?
We are entering some amount & want to truncate the amount from our end. Say example: 12.34, So when an end user enter an amount. So, on UI screen it should not allow after decimal three digits, it should always allow only two digits after decimal on UI. Currently we are using currency control & in presentation tab of control we have configured decimal rounding of two but we are able to enter digits more then two after decimal but when we refresh outside of text box then again it is displaying 12.34 but in actual I have enter 12.346589.
So, I want to restrict end users they can enter an amount after decimal upto only digits like 12.34, he should not be able to enter amount like 12.345