Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I generate a number divisable by 5, and check it? PinPopular
stephen.darling23-Aug-11 2:40
stephen.darling23-Aug-11 2:40 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Not Active23-Aug-11 5:43
mentorNot Active23-Aug-11 5:43 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
#realJSOP23-Aug-11 5:19
mve#realJSOP23-Aug-11 5:19 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Not Active23-Aug-11 5:39
mentorNot Active23-Aug-11 5:39 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
FunkySteve23-Aug-11 2:47
FunkySteve23-Aug-11 2:47 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 3:00
stephen.darling23-Aug-11 3:00 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 8:43
KP Lee23-Aug-11 8:43 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced23-Aug-11 8:56
riced23-Aug-11 8:56 
I did say multiply by 10 then add 5.
I also said you could add 5 or 10 - but adding 10 is silly. The multiplication automatically makes it divisible by 5. Laugh | :laugh:
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
The only valid measurement of code quality: WTFs/minute.

GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 9:56
KP Lee23-Aug-11 9:56 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced24-Aug-11 6:56
riced24-Aug-11 6:56 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee24-Aug-11 9:58
KP Lee24-Aug-11 9:58 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced24-Aug-11 10:21
riced24-Aug-11 10:21 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Gary Wheeler23-Aug-11 1:13
Gary Wheeler23-Aug-11 1:13 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Kenneth Kasajian23-Aug-11 3:18
Kenneth Kasajian23-Aug-11 3:18 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 3:48
stephen.darling23-Aug-11 3:48 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Kenneth Kasajian28-Aug-11 11:30
Kenneth Kasajian28-Aug-11 11:30 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling28-Aug-11 11:41
stephen.darling28-Aug-11 11:41 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Kenneth Kasajian28-Aug-11 18:48
Kenneth Kasajian28-Aug-11 18:48 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
RDSchaefer23-Aug-11 4:11
RDSchaefer23-Aug-11 4:11 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 5:34
stephen.darling23-Aug-11 5:34 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
RDSchaefer23-Aug-11 6:07
RDSchaefer23-Aug-11 6:07 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 6:52
stephen.darling23-Aug-11 6:52 
SuggestionRe: How do I generate a number divisable by 5, and check it? PinPopular
Simon Bang Terkildsen22-Aug-11 5:26
Simon Bang Terkildsen22-Aug-11 5:26 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
mooman2723-Aug-11 10:34
mooman2723-Aug-11 10:34 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced24-Aug-11 6:58
riced24-Aug-11 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.