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
1 reply
Subscribers
8 subscribers
Views
2778 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
32- bit sized binary integer
Dastagiri Dudekula
over 8 years ago
Could you please suggest any graceful ways to deal with integer wraparound functionalities.
Problems I could face when exploring the integer values as as follows
addmulnumbers(2147483647,10) --> null
sum(2147483647,10) ---> 10
2147483647+10 ---> -2147483639
-2147483647+1 ---> -2147483646
Though we go optimistic way, but there are some scenarios where an integer value can exceed the maximum positive value for a 32-bit signed binary integer in computing viz. "Gangnam Style" exceeded the 32-bit integer limit for YouTube view count . So I would like to know the suggested approach for this issue
OriginalPostID-260648
Discussion posts and replies are publicly visible
0
Stefan Helzle
A Score Level 3
over 8 years ago
AFAIK the only way for bigger numbers is decimal. In case you do not need to calculate with a number you could save it as text.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel