on 04-07-2008 2:59 PM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.