Programing help in spin
in Propeller 1
I would like to find out how many thousands,hundreds,tens and singles in a number Ex: 6476, and place each category in varibles Ex: singles,tens,hundreds and thousands
Any help with an example in spin will be greately appriciated.
Thank you.
Siri
Any help with an example in spin will be greately appriciated.
Thank you.
Siri

Comments
Thank you
I will give ita try
Siri
pub get_digits(value, digits, p_digits) repeat digits byte[p_digits++] := value // 10 value /= 10This works, too. Call it like this: