Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
AnswerRe: Win32 api Pin
Anonymous30-Sep-05 8:18
Anonymous30-Sep-05 8:18 
QuestionStandard Deviation Graph through GDI+ in .NET? Pin
parvinder sehrawat29-Sep-05 22:04
parvinder sehrawat29-Sep-05 22:04 
AnswerRe: Standard Deviation Graph through GDI+ in .NET? Pin
Stefan Troschuetz29-Sep-05 23:22
Stefan Troschuetz29-Sep-05 23:22 
GeneralRe: Standard Deviation Graph through GDI+ in .NET? Pin
parvinder sehrawat29-Sep-05 23:46
parvinder sehrawat29-Sep-05 23:46 
GeneralRe: Standard Deviation Graph through GDI+ in .NET? Pin
Stefan Troschuetz30-Sep-05 1:13
Stefan Troschuetz30-Sep-05 1:13 
GeneralRe: Standard Deviation Graph through GDI+ in .NET? Pin
Jon Rista1-Oct-05 8:23
Jon Rista1-Oct-05 8:23 
QuestionLimiting to 2 decimal places Pin
binglin29-Sep-05 21:40
binglin29-Sep-05 21:40 
AnswerRe: Limiting to 2 decimal places Pin
S. Senthil Kumar29-Sep-05 23:14
S. Senthil Kumar29-Sep-05 23:14 
If you're sure you'll always get d.dddd, you can simply multiply it by 100 (or the number of digits you want after the decimal point, cast it to an int and divide back by 100. Something like
double a = 1.76543;
int x = ((int)(a * 100)))/ 100.00;


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
AnswerRe: Limiting to 2 decimal places Pin
Stefan Troschuetz29-Sep-05 23:20
Stefan Troschuetz29-Sep-05 23:20 
AnswerRe: Limiting to 2 decimal places Pin
esjq30-Sep-05 9:28
esjq30-Sep-05 9:28 
QuestionHigh Memory Usage Pin
Heinz_29-Sep-05 19:52
Heinz_29-Sep-05 19:52 
AnswerRe: High Memory Usage Pin
S. Senthil Kumar29-Sep-05 23:26
S. Senthil Kumar29-Sep-05 23:26 
GeneralRe: High Memory Usage Pin
Heinz_30-Sep-05 8:40
Heinz_30-Sep-05 8:40 
AnswerRe: High Memory Usage Pin
Daniel Grunwald30-Sep-05 3:59
Daniel Grunwald30-Sep-05 3:59 
GeneralRe: High Memory Usage Pin
Heinz_30-Sep-05 8:48
Heinz_30-Sep-05 8:48 
GeneralRe: High Memory Usage Pin
Dan Neely30-Sep-05 10:06
Dan Neely30-Sep-05 10:06 
Questionhow to communicate with one mobile with another via a program Pin
sajikp29-Sep-05 19:38
sajikp29-Sep-05 19:38 
AnswerRe: how to communicate with one mobile with another via a program Pin
Heinz_29-Sep-05 19:57
Heinz_29-Sep-05 19:57 
QuestionIPAddress Obsolete Pin
Thoughthopper29-Sep-05 17:20
Thoughthopper29-Sep-05 17:20 
AnswerRe: IPAddress Obsolete Pin
turbochimp29-Sep-05 17:51
turbochimp29-Sep-05 17:51 
GeneralRe: IPAddress Obsolete Pin
Thoughthopper29-Sep-05 18:00
Thoughthopper29-Sep-05 18:00 
QuestionHow to make DataColumn.Expression work? Pin
Libra29-Sep-05 17:14
Libra29-Sep-05 17:14 
AnswerWonder if it's VS.net IDE wizzard's bug... Pin
Libra29-Sep-05 19:37
Libra29-Sep-05 19:37 
QuestionRethrowing exceptions: Pin
ntfirebird29-Sep-05 16:24
ntfirebird29-Sep-05 16:24 
AnswerRe: Rethrowing exceptions: Pin
Libra29-Sep-05 17:39
Libra29-Sep-05 17:39 

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.