cancel
Showing results for 
Search instead for 
Did you mean: 

division by character

Former Member
0 Kudos

hello

can we divide a variable of type character by another variable of type character in smartforms?

if not, do we have to convert them into numbers, is there a FM to do that?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

You can do that ... but then you can even use it as a same variable type by type casting i.e, for example if you want to convert the character type to integer do this way ...


 data : v_char(10) value '35',
          v_int  type i.

* Converting Character type variable to Integer 
   v_int = v_char.

ll'arly you can convert it to packed and numc variables ...

Regards,

Santosh

Answers (0)