Hi, i've tried look about for this but cant find it .

Basically all i want to do its break a number up into single ints.

I.E

id have

int a

int b

int c

and a number, say 189. I want break 189 into 1,8 and 9. So a=1 b=8 and c=9.

thanks for any help.