Skip to Content
0
Former Member
Nov 25, 2005 at 01:55 AM

Fighting with decimals.

25 Views

I'm doing something like

DATA var1 TYPE p DECIMALS 2.

.

.

.

var1 = 364 / 365.

I expect to receive "0.99" but instead of I receive "1.00".

Can someone explain me a little, of how to work with decimals in ABAP?

Thanx in advance.