Click here to Skip to main content
15,881,877 members
Home / Discussions / C#
   

C#

 
QuestionNamespace System.Configuration for .net 2.0 Pin
akyriako7818-Oct-05 5:14
akyriako7818-Oct-05 5:14 
QuestionMouse Events Pin
ShimiG18-Oct-05 5:04
ShimiG18-Oct-05 5:04 
AnswerRe: Mouse Events Pin
Robert Rohde18-Oct-05 5:46
Robert Rohde18-Oct-05 5:46 
GeneralRe: Mouse Events Pin
ShimiG18-Oct-05 5:53
ShimiG18-Oct-05 5:53 
GeneralRe: Mouse Events Pin
Stefan Troschuetz18-Oct-05 6:33
Stefan Troschuetz18-Oct-05 6:33 
AnswerRe: Mouse Events Pin
Stefan Troschuetz18-Oct-05 5:59
Stefan Troschuetz18-Oct-05 5:59 
Questionsimple string operation Pin
hasanali0018-Oct-05 4:56
hasanali0018-Oct-05 4:56 
AnswerRe: simple string operation Pin
Wjousts18-Oct-05 6:35
Wjousts18-Oct-05 6:35 
how about something like this:

<br />
int iDec = int.Parse(dec)<br />
double dAmount = double.Parse(amount)<br />
dAmount *= 10;     // for some reason you appear to be adding a zero in your question?<br />
dAmount /= Math.Pow(10,iDec);<br />
Amount = dAmount.ToString("f" + iDec);<br />
<code>

AnswerRe: simple string operation Pin
leppie18-Oct-05 11:38
leppie18-Oct-05 11:38 
GeneralRe: simple string operation Pin
hasanali0020-Oct-05 2:58
hasanali0020-Oct-05 2:58 
QuestionDetect CLR Version at Compile Time Pin
Robert M Greene18-Oct-05 3:57
Robert M Greene18-Oct-05 3:57 
AnswerRe: Detect CLR Version at Compile Time Pin
Dave Kreskowiak18-Oct-05 7:53
mveDave Kreskowiak18-Oct-05 7:53 
AnswerRe: Detect CLR Version at Compile Time Pin
Tom Larsen18-Oct-05 8:08
Tom Larsen18-Oct-05 8:08 
GeneralRe: Detect CLR Version at Compile Time Pin
Robert M Greene19-Oct-05 8:12
Robert M Greene19-Oct-05 8:12 
Questionlistview question c# win application Pin
fady_sayegh18-Oct-05 2:13
fady_sayegh18-Oct-05 2:13 
QuestionDisplaying time ONLY in a datagrid control Pin
Vikram A Punathambekar18-Oct-05 2:03
Vikram A Punathambekar18-Oct-05 2:03 
AnswerRe: Displaying time ONLY in a datagrid control Pin
Anonymous18-Oct-05 2:42
Anonymous18-Oct-05 2:42 
AnswerRe: Displaying time ONLY in a datagrid control Pin
Stan Shannon18-Oct-05 2:50
Stan Shannon18-Oct-05 2:50 
GeneralRe: Displaying time ONLY in a datagrid control Pin
Vikram A Punathambekar18-Oct-05 4:24
Vikram A Punathambekar18-Oct-05 4:24 
GeneralRe: Displaying time ONLY in a datagrid control Pin
Robert M Greene18-Oct-05 7:02
Robert M Greene18-Oct-05 7:02 
QuestionControls Leave Event - Help Pin
Craig G Fraser18-Oct-05 1:27
Craig G Fraser18-Oct-05 1:27 
AnswerRe: Controls Leave Event - Help Pin
Wjousts18-Oct-05 3:33
Wjousts18-Oct-05 3:33 
GeneralRe: Controls Leave Event - Help Pin
Craig G Fraser18-Oct-05 3:39
Craig G Fraser18-Oct-05 3:39 
GeneralRe: Controls Leave Event - Help Pin
Wjousts18-Oct-05 3:46
Wjousts18-Oct-05 3:46 
Questionencryption in c# Pin
sandy_francs18-Oct-05 1:13
sandy_francs18-Oct-05 1:13 

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.