Click here to Skip to main content
15,923,374 members
Home / Discussions / C#
   

C#

 
AnswerRe: Databinding dropdown in C# Pin
nelsonpaixao18-Jul-08 14:58
nelsonpaixao18-Jul-08 14:58 
GeneralRe: Databinding dropdown in C# Pin
sabraham23-Jul-08 12:07
sabraham23-Jul-08 12:07 
QuestionSystem.Net.Socket.Connected --- eek Pin
Jason McBurney17-Jul-08 15:58
Jason McBurney17-Jul-08 15:58 
GeneralRe: System.Net.Socket.Connected --- eek Pin
nelsonpaixao18-Jul-08 15:09
nelsonpaixao18-Jul-08 15:09 
GeneralRe: System.Net.Socket.Connected --- eek Pin
Jason McBurney21-Jul-08 5:55
Jason McBurney21-Jul-08 5:55 
QuestionSigning Data using RSA Pin
nyjcr17-Jul-08 15:10
nyjcr17-Jul-08 15:10 
AnswerRe: Signing Data using RSA Pin
Elroy Dsilva17-Jul-08 17:51
Elroy Dsilva17-Jul-08 17:51 
AnswerRe: Signing Data using RSA Pin
Elroy Dsilva17-Jul-08 17:56
Elroy Dsilva17-Jul-08 17:56 
Question[Message Deleted] Pin
tkrn17-Jul-08 15:07
tkrn17-Jul-08 15:07 
QuestionTranslation vb -> c# Pin
nelsonpaixao17-Jul-08 13:17
nelsonpaixao17-Jul-08 13:17 
Answer[Cross Post]Re: Translation vb -> c# Pin
Scott Dorman17-Jul-08 16:27
professionalScott Dorman17-Jul-08 16:27 
QuestionWebClient.DownloadFileAsync Pin
#realJSOP17-Jul-08 12:06
professional#realJSOP17-Jul-08 12:06 
AnswerRe: WebClient.DownloadFileAsync Pin
N a v a n e e t h17-Jul-08 17:49
N a v a n e e t h17-Jul-08 17:49 
GeneralRe: WebClient.DownloadFileAsync Pin
#realJSOP17-Jul-08 23:16
professional#realJSOP17-Jul-08 23:16 
QuestionC# WinForms: Read/Display Multipage Tiff image. Pin
ImNAM17-Jul-08 10:18
ImNAM17-Jul-08 10:18 
AnswerRe: C# WinForms: Read/Display Multipage Tiff image. [modified] Pin
astanton197818-Jul-08 1:16
astanton197818-Jul-08 1:16 
GeneralRe: C# WinForms: Read/Display Multipage Tiff image. Pin
ImNAM18-Jul-08 3:49
ImNAM18-Jul-08 3:49 
GeneralRe: C# WinForms: Read/Display Multipage Tiff image. Pin
astanton197821-Jul-08 1:35
astanton197821-Jul-08 1:35 
QuestionHow to format a number with an implied decimal Pin
Steve Messer17-Jul-08 8:46
Steve Messer17-Jul-08 8:46 
AnswerRe: How to format a number with an implied decimal Pin
PIEBALDconsult17-Jul-08 9:05
mvePIEBALDconsult17-Jul-08 9:05 
GeneralRe: How to format a number with an implied decimal Pin
Steve Messer17-Jul-08 9:11
Steve Messer17-Jul-08 9:11 
GeneralRe: How to format a number with an implied decimal Pin
Pete O'Hanlon17-Jul-08 10:27
mvePete O'Hanlon17-Jul-08 10:27 
GeneralRe: How to format a number with an implied decimal Pin
Steve Messer17-Jul-08 10:32
Steve Messer17-Jul-08 10:32 
GeneralRe: How to format a number with an implied decimal Pin
Pete O'Hanlon17-Jul-08 10:39
mvePete O'Hanlon17-Jul-08 10:39 
GeneralRe: How to format a number with an implied decimal Pin
PIEBALDconsult17-Jul-08 14:49
mvePIEBALDconsult17-Jul-08 14:49 
smesser wrote:
not under the contraints I layed out


Which are fairly silly. Why take a decimal, convert to string, convert back to decimal, and then convert back to string again?

Why wouldn't the caller simply use (val * 100.0M).ToString ( "000000" ) and be done with it? What benefit would your method provide?

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.