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
12 replies
Subscribers
7 subscribers
Views
3393 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi.. In Database, we have a float value like "45.5", and in UI it has
smrutis
over 8 years ago
Hi.. In Database, we have a float value like "45.5", and in UI it has to be displayed as "45.50". Is there a way to do this?
OriginalPostID-156978
OriginalPostID-156978
Discussion posts and replies are publicly visible
Parents
0
cmtam
over 8 years ago
For decimal, please use fixed() to convert your text. Please note that the significant digit for decimal is only 15 digit.
In SAIL form, we have create a common SAIL interface component for inputting amount, it will
- Accept the input as text
- Use todecimal() to convert inputted to decimal
- Control the amount range if it is number
- Convert the input back to text using fixed() with predefined decimal point
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
cmtam
over 8 years ago
For decimal, please use fixed() to convert your text. Please note that the significant digit for decimal is only 15 digit.
In SAIL form, we have create a common SAIL interface component for inputting amount, it will
- Accept the input as text
- Use todecimal() to convert inputted to decimal
- Control the amount range if it is number
- Convert the input back to text using fixed() with predefined decimal point
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data