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.