Skip to Content
0
Former Member
Apr 08, 2010 at 12:24 PM

Price and Quantity Multiplication

2265 Views

Hi All,

I want to multiply Quantity and price.

The fields are Price - VBAP-CMPRE (data type: CURR Lengh 11 decimals 2 ) and

quanity - VBBE-VMENG (data type: QUAN Length 15 decimals 3 ).

But when i tried to multiply and pass the result to the final variable it is not multiplying correctly.

Say if i have Price = 994.000

and quantity = 1.00

final variable is giving as 994000.00

Even when i tried to give the different data type to a variable, value is coming as differnent.

How to handle this?

Regards,

Deepak