cancel
Showing results for 
Search instead for 
Did you mean: 

Data Type for P(9) DECIMALS 2 in Fox.

Former Member
0 Kudos

Hi all,

I have a local variable in fox of float type(kyf_ex_rate) .If I 'll divide this variable by 1,it would give the value with negative exponent power , which further i'm not able to assign to l_amount kyf.For example :

data l_amount type f.

Kyf_ex_rate = 4.200000e+6.

kyf_cal(type F) = 1 / kyf_ex_rate.

kyf_cal = 2.380952e-4.

l_amount = kyf_cal.

{0amount,,,,} = l_amount.

It would assign 0.00 to 0amount as l_amount is of type F which supports 16 dec points where as 0amount is of type p(9) decimals2 which would get the value from l_amount.

But I want the value of kyf_cal to be posted to l_amount,it should not be affected by the datatype mismatch behavior.

Rgds,

Indu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mayank,

Thanx for u r help. I have tested out with that scenario also But the behavior of it is still the same.

Rgds,

Indu.

Former Member
0 Kudos

In the properties of the KF 0amount, try ticking 'key figure with max precision' in the additional properties tab. That can help.