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
3 replies
Subscribers
8 subscribers
Views
1537 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi all.... I have a text field, where I have written a JavaScript validatio
vishnuv
A Score Level 1
over 10 years ago
Hi all....
I have a text field, where I have written a JavaScript validation such that the field can accept only numbers(includes decimalboth positive and negative).
The challenge here is the field should restrict allowing more than 2 values after decimal.
Looking for a help ASAP.
Thanks....
OriginalPostID-115932
OriginalPostID-115932
Discussion posts and replies are publicly visible
Parents
0
Patty Isecke
Appian Employee
over 10 years ago
Try using toFixed()
stackoverflow.com/.../javascript-formatting-number-with-exactly-two-decimals
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Patty Isecke
Appian Employee
over 10 years ago
Try using toFixed()
stackoverflow.com/.../javascript-formatting-number-with-exactly-two-decimals
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data