How many decimals have the variable of the result?
It's like u have a trunk to 2 decimals.
DATA: v_result TYPE P DECIMALS 3.
375,000.00 / 15,000.000 = v_result
Put your code if it doesnÂˇt work
regards
Hi vinil,
i do it like this and it works:
data: p1 type p decimals 2 value 375000.
data: p2 type p decimals 3 value 15000.
*
data: r1 type p decimals 2.
*
r1 = p1 / p2. "R1 gets 25,00
*
write: r1.
Can you show the declaration of your fields.
Regards, Dieter
Add comment