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

C#

 
GeneralRe: Help regarding password char in textbox Pin
althamda10-Apr-07 5:13
althamda10-Apr-07 5:13 
GeneralRe: Help regarding password char in textbox Pin
anu8110-Apr-07 19:03
anu8110-Apr-07 19:03 
GeneralRe: Help regarding password char in textbox Pin
gauthee10-Apr-07 18:36
gauthee10-Apr-07 18:36 
AnswerRe: Help regarding password char in textbox Pin
nikanth10-Apr-07 4:25
nikanth10-Apr-07 4:25 
QuestionTruncate decimal place Pin
polishprogrammer10-Apr-07 3:36
polishprogrammer10-Apr-07 3:36 
AnswerRe: Truncate decimal place Pin
gauthee10-Apr-07 3:48
gauthee10-Apr-07 3:48 
AnswerRe: Truncate decimal place Pin
Martin#10-Apr-07 3:59
Martin#10-Apr-07 3:59 
AnswerRe: Truncate decimal place Pin
Not Active10-Apr-07 4:31
mentorNot Active10-Apr-07 4:31 
May not be the prettiest

double d = 101.75675675675675675675675675676;<br />
string s = string.Format("{0:f2}", d);<br />
d = Convert.ToDouble(s.Remove(s.Length-1));


Using the specifier {0:f1} still rounds the number to 101.8, so use 0:f2 and truncate it.


only two letters away from being an asset

AnswerRe: Truncate decimal place Pin
althamda10-Apr-07 6:00
althamda10-Apr-07 6:00 
AnswerRe: Truncate decimal place Pin
mabo4211-Apr-07 0:05
mabo4211-Apr-07 0:05 
QuestionConverting bmp to pcx files Pin
Romashka_NN10-Apr-07 3:20
Romashka_NN10-Apr-07 3:20 
Questionwhere is create Class Diagram option?? Pin
Saira Tanwir10-Apr-07 2:50
Saira Tanwir10-Apr-07 2:50 
AnswerRe: where is create Class Diagram option?? Pin
Colin Angus Mackay10-Apr-07 3:03
Colin Angus Mackay10-Apr-07 3:03 
AnswerRe: where is create Class Diagram option?? Pin
Pete O'Hanlon10-Apr-07 3:14
mvePete O'Hanlon10-Apr-07 3:14 
AnswerRe: where is create Class Diagram option?? Pin
Sathesh Sakthivel10-Apr-07 3:17
Sathesh Sakthivel10-Apr-07 3:17 
GeneralRe: where is create Class Diagram option?? Pin
Colin Angus Mackay10-Apr-07 3:33
Colin Angus Mackay10-Apr-07 3:33 
Questionmake program work as monitor to store each word and text ? Pin
Ahmed R El Bohoty10-Apr-07 2:32
Ahmed R El Bohoty10-Apr-07 2:32 
AnswerRe: make program work as monitor to store each word and text ? Pin
Colin Angus Mackay10-Apr-07 3:05
Colin Angus Mackay10-Apr-07 3:05 
AnswerRe: make program work as monitor to store each word and text ? Pin
Ahmed R El Bohoty10-Apr-07 6:12
Ahmed R El Bohoty10-Apr-07 6:12 
AnswerRe: make program work as monitor to store each word and text ? Pin
Pete O'Hanlon10-Apr-07 3:17
mvePete O'Hanlon10-Apr-07 3:17 
GeneralRe: make program work as monitor to store each word and text ? Pin
Colin Angus Mackay10-Apr-07 3:35
Colin Angus Mackay10-Apr-07 3:35 
GeneralRe: make program work as monitor to store each word and text ? Pin
Ahmed R El Bohoty10-Apr-07 4:52
Ahmed R El Bohoty10-Apr-07 4:52 
GeneralRe: make program work as monitor to store each word and text ? Pin
Dan Neely10-Apr-07 4:58
Dan Neely10-Apr-07 4:58 
QuestionDataGridView keydown event Pin
7110-Apr-07 2:25
7110-Apr-07 2:25 
AnswerRe: DataGridView keydown event Pin
_mubashir10-Apr-07 2:31
_mubashir10-Apr-07 2:31 

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.