2008 Jul 28 4:22 PM
I am facing problem while dividing a value by decimal value. If i remove decimal point, there wont be problem. how can i solve this.
x = y / 7.5.
2008 Jul 29 9:52 AM
Hi
Try this...
Data: z(5) TYPE P DECIMALS 2 VALUE '7.5' .
x = y / z .
Hope it helps.
Murthy
I am facing problem while dividing a value by decimal value. If i remove decimal point, there wont be problem. how can i solve this.
x = y / 7.5.
2008 Jul 28 4:25 PM
Sappin,
what problem you are facing?
and what is the type of X?
make type od X
data:X type P decimal 2.
Amit.
2008 Jul 28 4:42 PM
2008 Jul 28 5:36 PM
hi try this code
parameter: y type p decimal 2,
z type p decimal 2.
data: x type p decimal 2.
x = y / z.
write 😕 x.
bye
sachidananda
2008 Jul 29 9:52 AM
Hi
Try this...
Data: z(5) TYPE P DECIMALS 2 VALUE '7.5' .
x = y / z .
Hope it helps.
Murthy
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |