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
7 subscribers
Views
2485 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
The existing ROUND() function should be resulting in rounding off the given deci
sureshkg
over 9 years ago
The existing ROUND() function should be resulting in rounding off the given decimal number based on the specified number of digits in the second parameter. It works perfectly fine if we store the value in the TEXT data type variable, But, if we store the value in the Decimal data type, it is not behaving as expected. May i know the reason behind this? Are there any work around ? or is it a known issue?
Ex. Round(10.223434, 2) = 10.22 -> stored in the Text Variable
Round(10.223434, 2) = 10.219999999999995 --> stored in the Decimal Variable.
TA
...
OriginalPostID-119683
OriginalPostID-119683
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 9 years ago
If you want to display the number wit the only those two digits; when displaying make sure you use the fixed() function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 9 years ago
If you want to display the number wit the only those two digits; when displaying make sure you use the fixed() function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data