Question

1
Replies
107
Views
Raghav Jha Member since 2015 10 posts
Tata Consultancy Services
Posted: 3 years ago
Last activity: 3 years 3 months ago
Closed

Truncate the value from Front End System

Hello All,

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

Thanks in advance for your help...!!!

Kind Regards,

Raghav Jha

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn