Click here to Skip to main content
15,888,269 members
Home / Discussions / C#
   

C#

 
GeneralRe: Perverted understanding of "democracy" Pin
Eddy Vluggen11-Nov-14 0:32
professionalEddy Vluggen11-Nov-14 0:32 
GeneralRe: Perverted understanding of "democracy" Pin
Sergey Alexandrovich Kryukov11-Nov-14 3:54
mvaSergey Alexandrovich Kryukov11-Nov-14 3:54 
GeneralRe: It makes perfect sense! Pin
Eddy Vluggen10-Nov-14 8:40
professionalEddy Vluggen10-Nov-14 8:40 
GeneralThis is a confession Pin
Sergey Alexandrovich Kryukov10-Nov-14 10:01
mvaSergey Alexandrovich Kryukov10-Nov-14 10:01 
QuestionRe: This is a confession Pin
Eddy Vluggen10-Nov-14 12:56
professionalEddy Vluggen10-Nov-14 12:56 
AnswerRe: This is a confession Pin
Sergey Alexandrovich Kryukov10-Nov-14 13:05
mvaSergey Alexandrovich Kryukov10-Nov-14 13:05 
AnswerRe: This is a confession Pin
Richard MacCutchan10-Nov-14 21:32
mveRichard MacCutchan10-Nov-14 21:32 
QuestionHow to find the nearest number that divides evenly in to another number. Pin
Member 1122095210-Nov-14 0:03
Member 1122095210-Nov-14 0:03 
I'm trying to find the nearest number that divides evenly into a pre-defined number.

Examples:
x = 12700000 / y where y is the given number and x is the nearest number that divdes into 12700000 evenly.

y = 6250, x = 6250 (12700000 / 6250 = 2032)
y = 6350, x = 6350 (12700000 / 6350 = 2000)
y = 6260, x = 6250 (12700000 / 6260 = 2028.753994)
y = 6301, x = 6350 (12700000 / 6301 = 2015.553087)
Is there a way to do this using C#?

I'm sorry I didn't explain myself correctly. I have edited the question above.

modified 10-Nov-14 9:10am.

QuestionRe: How to find the nearest number that divides evenly in to another number. Pin
Richard MacCutchan10-Nov-14 2:14
mveRichard MacCutchan10-Nov-14 2:14 
AnswerRe: How to find the nearest number that divides evenly in to another number. Pin
BillWoodruff10-Nov-14 2:53
professionalBillWoodruff10-Nov-14 2:53 
AnswerRe: How to find the nearest number that divides evenly in to another number. Pin
Dominic Burford10-Nov-14 2:54
professionalDominic Burford10-Nov-14 2:54 
AnswerRe: How to find the nearest number that divides evenly in to another number. Pin
Ravi Bhavnani10-Nov-14 6:00
professionalRavi Bhavnani10-Nov-14 6:00 
AnswerRe: How to find the nearest number that divides evenly in to another number. Pin
BillWoodruff10-Nov-14 21:52
professionalBillWoodruff10-Nov-14 21:52 
AnswerRe: How to find the nearest number that divides evenly in to another number. Pin
Member 1122095210-Nov-14 22:49
Member 1122095210-Nov-14 22:49 
AnswerRe: How to find the nearest number that divides evenly in to another number. Pin
Member 1122095210-Nov-14 23:03
Member 1122095210-Nov-14 23:03 
GeneralRe: How to find the nearest number that divides evenly in to another number. Pin
BillWoodruff11-Nov-14 5:16
professionalBillWoodruff11-Nov-14 5:16 
QuestionAccess network drive though windows services in c# or vc++ Pin
Member 109313459-Nov-14 21:38
Member 109313459-Nov-14 21:38 
AnswerRe: Access network drive though windows services in c# or vc++ Pin
Garth J Lancaster9-Nov-14 21:54
professionalGarth J Lancaster9-Nov-14 21:54 
QuestionDownload youtube with C#2005 ? Pin
Member 24584679-Nov-14 21:20
Member 24584679-Nov-14 21:20 
AnswerRe: Download youtube with C#2005 ? Pin
M.Scheeren10-Nov-14 1:46
professionalM.Scheeren10-Nov-14 1:46 
GeneralRe: Download youtube with C#2005 ? Pin
Member 245846722-Nov-14 20:21
Member 245846722-Nov-14 20:21 
GeneralRe: Download youtube with C#2005 ? Pin
M.Scheeren23-Nov-14 19:57
professionalM.Scheeren23-Nov-14 19:57 
GeneralRe: Download youtube with C#2005 ? Pin
Member 245846726-Nov-14 20:09
Member 245846726-Nov-14 20:09 
GeneralRe: Download youtube with C#2005 ? Pin
M.Scheeren1-Dec-14 22:31
professionalM.Scheeren1-Dec-14 22:31 
QuestionHow to find duplicate Value from Datagridview Pin
Member 107170859-Nov-14 16:27
Member 107170859-Nov-14 16:27 

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.