Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
7 subscribers
Views
1723 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi, I'm using floatingPointField for amount. I have validation on this
tushark171
over 9 years ago
Hi,
I'm using floatingPointField for amount. I have validation on this field which says "Invalid numeric format, Expected #########.##
", if entered value is not correct. But when I enter value ending with 0 after floating point e.g. 22.50, it trim the 0 and shows 22.5.
When I use fixed function to restrict till 2 digits after floating point it trims value but still shows validation message. e.g. if I enter 22.5011
it shows 22.50 but it still shows me validation message "Expected #########.##".
I do not want to trim value in any case. If user enter 22.50 it should show same & if user enter 22.5011 it should show validation message.
Appreciate any help.
OriginalPostID-178366
OriginalPostID-178366
Discussion posts and replies are publicly visible
0
gauravg568
over 9 years ago
Try using a text input field if you want the 0 in 22.50 to not be trimmed, and put the validation check on the text input field.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harshav
over 9 years ago
fixed() function also will be the suitable function
forum.appian.com/.../Text_Functions.html
May be you can have a look into this. hope this would help!!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel