and, what don't you understand?
step 1: you have your number
step 2: a variable you call thouNumb = number/1000
step 3: print thouNumb " thousand"
step 4: number = number - ( thouNumb * 1000)
repeat the same steps for hundreds, .. until you have worked through the entire number
stultuske 1,116 Posting Maven Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
wallet123 15 Junior Poster
stultuske 1,116 Posting Maven Featured Poster
wallet123 15 Junior Poster
wallet123 15 Junior Poster
stultuske 1,116 Posting Maven Featured Poster
wallet123 15 Junior Poster
stultuske 1,116 Posting Maven Featured Poster
wallet123 15 Junior Poster
stultuske 1,116 Posting Maven Featured Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
wallet123 15 Junior Poster
JeffGrigg 170 Posting Whiz in Training
DavidKroukamp 105 Master Poster Team Colleague Featured Poster
stultuske 1,116 Posting Maven Featured Poster
DavidKroukamp 105 Master Poster Team Colleague Featured Poster
stultuske 1,116 Posting Maven Featured Poster
DavidKroukamp 105 Master Poster Team Colleague Featured Poster
stultuske 1,116 Posting Maven Featured Poster
DavidKroukamp 105 Master Poster Team Colleague Featured Poster
wallet123 15 Junior Poster
stultuske 1,116 Posting Maven Featured Poster
JeffGrigg 170 Posting Whiz in Training
wallet123 15 Junior Poster
stultuske 1,116 Posting Maven Featured Poster
JeffGrigg 170 Posting Whiz in Training
wallet123 15 Junior Poster
JeffGrigg 170 Posting Whiz in Training
wallet123 15 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.