Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Simple Question to packed numbers

Former Member
0 Likes
350

Hi,

consider the program:

data: no TYPE p DECIMALS 2.

no = -2.

write no.

The output is: 2.00-

How can I visualize the sign in front of the number: -2.00?

Is playing with chars the only solution?

Thanks,

Manuel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
333

use FM CLOI_PUT_SIGN_IN_FRONT

Hi,

consider the program:

data: no TYPE p DECIMALS 2.

no = -2.

write no.

The output is: 2.00-

How can I visualize the sign in front of the number: -2.00?

Is playing with chars the only solution?

Thanks,

Manuel

1 REPLY 1
Read only

Former Member
0 Likes
334

use FM CLOI_PUT_SIGN_IN_FRONT