Profile
Achievement
Salamandern's Recent SnippetsTagged math
- All /
« Prev 1 Next »
This function will return the sum of the characters making up a number. For example, summate(321) will return 6. summate(123) will also return 6, because both 123 and 321 are made out of the same characters. Supports integers of any length, but only...
0
1076
posted 11 years ago by Salamandern