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
7 replies
Subscribers
7 subscribers
Views
2480 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I think there may be a bug with the "<" operator and decimal operan
mpontius
over 8 years ago
I think there may be a bug with the "<" operator and decimal operands. More specifically with the decimal operand with a .0 decimal place. It is reproduce-able with the following test expression. I would expect this to return an array of all true values, but instead for the first two it returns false. This only seems to be a problem with -1 and 1.0 for some reason. I have not been able to reproduce with other numbers.
{
-1.0 < 1.0,
-1 < 1.0,
-1 < 1,
-1 < 1.01,
-1 = -1.0,
-1.0 <= 1.0,
-1 <= 1.0,
1.0 > -1,
1 > -1.0
}
OriginalPostID-156893
OriginalPostID-156893
Discussion posts and replies are publicly visible
Parents
0
Matt Hilliard
Appian Employee
over 8 years ago
Thanks for reporting this. A fix for this issue will be included in the next hotfix package for all supported versions (7.4 and above).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Matt Hilliard
Appian Employee
over 8 years ago
Thanks for reporting this. A fix for this issue will be included in the next hotfix package for all supported versions (7.4 and above).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data