Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

arithemetic overflow

Former Member
0 Likes
345

hi guys,

I am adding few values of field f1 into field f2. Both of them are of data element betrg i.e currency. After certain point f2 overflows. Can you suggest a data element that would hold a larger value than the betrg?

thanks,

HM

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
308

Declare field F2, like so.


data: F2 type p decimals 2.

Regards,

Rich Heilman

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
309

Declare field F2, like so.


data: F2 type p decimals 2.

Regards,

Rich Heilman