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

currency problem

Former Member
0 Likes
571

I have lv_total = 999999999966

I have make it

9.999.999.999,66 and pass it into lv_total or

say into another local variable lv_total1.

How to do this. Please suggest me .

WRITE lv_total TO lv_total

USING EDIT MASK 'RR___.___.___,__'.

is for upto 999.999.999,66 only

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
524

Increase the mask.

'___.___.___.___,__'

4 REPLIES 4
Read only

Former Member
0 Likes
525

Increase the mask.

'___.___.___.___,__'

Read only

Former Member
0 Likes
524

Sam

The problem is not due to edit mask not able to handle the value but the field length of lv_total. If you increase the length of the variable lv_total1 it should be able give you the result.

Regards

Anurag

Read only

Former Member
0 Likes
524

Still I did not use this in y program ...

U mean in the below stmt

WRITE lv_total TO lv_total

USING EDIT MASK 'RR___.___.___,__'.

I need to write

USING EDIT MASK 'RR___.___.___.___,__'.

AM I RIGHT ?

Read only

0 Likes
524

That's what I did and it seemed to work.