If we add up the digits of the number 12345 we get 1+2+3+4+5 = 15.
I want to be able to do math upon the individual digits.
How would I do that in J?
Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
- [Jprogramming] sum of digits in a number Daniel Roe
- Re: [Jprogramming] sum of digits in a number bill lam
- Re: [Jprogramming] sum of digits in a number Björn Helgason
- Re: [Jprogramming] sum of digits in a number Devon McCormick
- Re: [Jprogramming] sum of digits in a num... Don Guinn
- Re: [Jprogramming] sum of digits in a num... Roger Hui
- Re: [Jprogramming] sum of digits in ... Don Guinn
- Re: [Jprogramming] sum of digits in ... Björn Helgason
- Re: [Jprogramming] sum of digits in a number Randy MacDonald
- Re: [Jprogramming] sum of digits in a number Ric Sherlock
- Re: [Jprogramming] sum of digits in a number Björn Helgason
