Application Development 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: 

Convert Char to Quan

Former Member
0 Kudos

Hi,

My problem is that i have a variable of type c and another variable of type ltap-vsolm i.e Quantity type.

eg l1 type c.

l2 type Ltap-vsolm.

eg Here value of l1 = '100,20'

I want to convert l1 to l2 where l2 will be 100.20

I have checked some posts already on sdn relating to this.

Cannot find an appropriate solution.

Please help me out.

Regards,

Darpana.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

l1 = '100,20'.

REPLACE ',' WITH '.' INTO I1.

MOVE I1 TO I2.

Max

2 REPLIES 2

Former Member
0 Kudos

Hi

l1 = '100,20'.

REPLACE ',' WITH '.' INTO I1.

MOVE I1 TO I2.

Max

Former Member
0 Kudos

There is no function to solve this.

Thank you for your replies.