Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
GeneralRe: Online Database Pin
nEar_mO12-Apr-11 17:38
nEar_mO12-Apr-11 17:38 
AnswerRe: Online Database Pin
thatraja12-Apr-11 18:11
professionalthatraja12-Apr-11 18:11 
AnswerRe: Online Database Pin
Eddy Vluggen12-Apr-11 20:56
professionalEddy Vluggen12-Apr-11 20:56 
AnswerRe: Online Database Pin
PIEBALDconsult12-Apr-11 2:48
mvePIEBALDconsult12-Apr-11 2:48 
QuestionNetwork Transaction Pin
nEar_mO11-Apr-11 22:59
nEar_mO11-Apr-11 22:59 
AnswerRe: Network Transaction Pin
OriginalGriff11-Apr-11 23:53
mveOriginalGriff11-Apr-11 23:53 
QuestionWorks from Visual Studio only Pin
D_Ana11-Apr-11 9:20
D_Ana11-Apr-11 9:20 
AnswerRe: Works from Visual Studio only Pin
Pete O'Hanlon11-Apr-11 9:51
mvePete O'Hanlon11-Apr-11 9:51 
AnswerRe: Works from Visual Studio only Pin
Wayne Gaylard11-Apr-11 22:25
professionalWayne Gaylard11-Apr-11 22:25 
GeneralRe: Works from Visual Studio only Pin
D_Ana13-Apr-11 6:31
D_Ana13-Apr-11 6:31 
QuestionHow do I cast a double to an int? Pin
Justiin126511-Apr-11 7:18
Justiin126511-Apr-11 7:18 
AnswerRe: How do I cast a double to an int? Pin
Eddy Vluggen11-Apr-11 7:25
professionalEddy Vluggen11-Apr-11 7:25 
GeneralRe: How do I cast a double to an int? Pin
Justiin126511-Apr-11 7:44
Justiin126511-Apr-11 7:44 
AnswerRe: How do I cast a double to an int? Pin
Eddy Vluggen11-Apr-11 8:09
professionalEddy Vluggen11-Apr-11 8:09 
GeneralRe: How do I cast a double to an int? Pin
David198711-Apr-11 7:35
David198711-Apr-11 7:35 
GeneralRe: How do I cast a double to an int? Pin
Justiin126511-Apr-11 7:45
Justiin126511-Apr-11 7:45 
GeneralRe: How do I cast a double to an int? Pin
AspDotNetDev11-Apr-11 8:06
protectorAspDotNetDev11-Apr-11 8:06 
AnswerRe: How do I cast a double to an int? Pin
Alan N11-Apr-11 7:47
Alan N11-Apr-11 7:47 
AnswerRe: How do I cast a double to an int? Pin
Luc Pattyn11-Apr-11 8:09
sitebuilderLuc Pattyn11-Apr-11 8:09 
GeneralRe: How do I cast a double to an int? Pin
Justiin126511-Apr-11 8:14
Justiin126511-Apr-11 8:14 
GeneralRe: How do I cast a double to an int? Pin
AspDotNetDev11-Apr-11 8:29
protectorAspDotNetDev11-Apr-11 8:29 
Refurb_Rate is a double, so when you return it later on, it is still holding a double (even though that double may happen to be integral). Since your function is of return type "int", you need to ensure you return data type "int".

Luc addresses some other issues with your code below.
This is not the age of reason, this is the age of flummery, and the day of the devious approach. Reason’s gone into the backrooms where it works to devise means by which people can be induced to emote in the desired direction.

QuestionPRE Tagged Pin
AspDotNetDev11-Apr-11 8:11
protectorAspDotNetDev11-Apr-11 8:11 
AnswerRe: PRE Tagged Pin
Luc Pattyn11-Apr-11 8:16
sitebuilderLuc Pattyn11-Apr-11 8:16 
AnswerRe: How do I cast a double to an int? [modified] Pin
Luc Pattyn11-Apr-11 8:14
sitebuilderLuc Pattyn11-Apr-11 8:14 
GeneralRe: How do I cast a double to an int? Pin
AspDotNetDev11-Apr-11 8:21
protectorAspDotNetDev11-Apr-11 8:21 

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.