Skip to Content
0
Former Member
Mar 02, 2009 at 11:52 AM

How to pass var P decimasl 4 to var P decimals 2 without round ?

23 Views

Hi all,

How to pass var P decimasl 4 to var P decimals 2 without round ?

Example;

DATA: num TYPE p DECIMALS 2,

num2 TYPE p DECIMALS 4.

num2 = '23.3367'.

num = num2.

'num' would be 23.34, but I do not want round it, I want that it be 2,33.

is it possible ?

Thanks.