Quantcast
Channel: VBForums - Maths Forum
Viewing all articles
Browse latest Browse all 118

Reducing numbers to one digit (numerology related)

$
0
0
If you don't know what numerology is, or how it works just forget it and see if you can solve this problem.

I want to reduce a multiple digit number to one digit by adding each digit together, then again, and again etc...until there is only one digit.

Examples of reduction method:
9999 (9+9+9+9=36 then 3+6=9 [corrected])
8765 (8+7+6+5=26 then 2+6=8)
4444 (4+4+4+4=32 then 3+2=5)
3210 (3+2+1+0=6)

Also, I need to convert letters into numbers in a way that the numbers 1-9 correspond with A-I, J-R, and S-Z (z ending on 8 of course). And I'm hoping there's a short way to program in VB other than A=1 B=2 so on....
Any help is appreciated thanks!

Viewing all articles
Browse latest Browse all 118

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>