Skip to Content
0
Former Member
Aug 21, 2007 at 07:35 AM

Function Module

23 Views

hello friends,

i want to sepearte out even and odd digits from a given number and want to do addition of them.

Eg. suppose i have number 12345 now i want to seperate out even numbers and odd numbers which are 2,4 and 1,3,5 respectively.after that i want to do addition of these number which is 24 and 13+5 and final result is 6 and 9

is there is any function module available for this.

thanks in advance.

regards,

bhaskar