69
Views
5
Comments
Can't Calculate Long Integer

Hello guys, i have a problem here...

So, i want to calculate Long Integer with Long Integer. My formula is a + b + c, where :

a = 983000000

b = 226133000

c = 1229133000 

im really confused, why the result is -1856701296.

i got all these values from my Entity Attribute with Long Integer Data Type, and already use data conversion function too, is there anybody can help me? thanks a lot.

2022-10-17 06-51-09
Shweta Gedam

Hi Sri Arief Wibawa Mukti,

Hope you are doing well!!

Could you please tell, which Data Conversion function you are using and why?

Thanks


2020-09-21 11-35-56
Sachin Waghmare

Hi Sri,

What is the data type of your variables i.e. a, b, c? Also, please confirm which conversion function you are using to convert the value to long integer?

Please try to use this function.

TextToLongInteger(a) + TextToLongInteger(b) + TextToLongInteger(c)

Thanks & Regards,

Sachin

2020-07-29 19-08-40
Sanjay Kumar Sahu

Hi Sri Arief Wibawa Mukti


I assumed your data type is proper as you are taking it from attribute, Can you please post expression snap of calculation. And also button logic flow.


Thanks,

Sanjay

2019-11-11 17-10-24
Manish Jawla
 
MVP

Hi Sri,

Please find the attched oml for reference. The calculation is working fine for me with the long integer.

testcalc.oml
2022-02-07 08-52-30
Pranav Pandey

Hi Sri Arief Wibawa Mukti,

The calculation seems to be working as expected. I tried the oml provided by Manish Jawla. It will be helpful if you can provide a sample oml with the same logic that you're using.



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.