‎2008 Jul 30 11:57 AM
Hi All ,
my req is to increase decimal places.
I have variable Lv_qty type EKPO-MENGE
its has only 2 decimal places .
but i want 10 decimal places in calculation
PO item Value is
= (net price )1400 * (Conversion factor ) 0.0133333333 * (ord qty)252
= 18.66666662
=4703.99998824 =4704 usd
According to my report ,the conversion factor comes to 0.013 ( i.e. field length = 5 instead of std field length for numeric field which equals to 12 )
PO item Value = 1400 *0.013 *252
=4586.40 usd
here I want to print PO item Val = 4703.99998824 =4704 usd
‎2008 Jul 30 11:59 AM
declare a variable with 10 decimals ..
data : v_p type p decimals 10.
‎2008 Jul 30 12:00 PM
‎2008 Jul 30 12:03 PM
HI,
The data type of the final variable should be p decimals 10.
Best of luck,
Bhumika
‎2008 Jul 30 12:23 PM
hi,
In this case u need to create the variable type decimal and length..10.
try this , let us know the result...
pradeep
‎2008 Jul 30 12:25 PM
Hi gs p,
for any calculations put result to a field TYPE f. This will use as many digits as possible. The result may be stored afterwards to a TYPE field with number of digits you want.
Regards,
Clemens
‎2010 Mar 13 3:03 PM
Presently, I have 2 decimal please on my Purchase Orders. it is possible to increase the value decimal places to more than 2?
eg: 1.232345678