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

calculation problem

Former Member
0 Likes
352

Hi all.

I have to calculate a value based on a starting value and a exchange rate.

The exchange rate is 4.2807 but when i do

exchange_currency = 4.2807 * value i noticed that in fact, the value 4.2807 is interpreted as 4280.7. Do you know what might be the problem ?

Regards,

Cristian.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
319

Hello,

In your program attributes, please check the check box 'Fixed Point Arithmetic' and then try.

Thanks,

Venu

1 REPLY 1
Read only

Former Member
0 Likes
320

Hello,

In your program attributes, please check the check box 'Fixed Point Arithmetic' and then try.

Thanks,

Venu