Click here to Skip to main content
15,901,122 members
Home / Discussions / C#
   

C#

 
GeneralRe: Question about Interop with a DLL written in C++ Pin
kmansari20-Oct-04 10:24
kmansari20-Oct-04 10:24 
GeneralRe: Question about Interop with a DLL written in C++ Pin
Heath Stewart20-Oct-04 13:37
protectorHeath Stewart20-Oct-04 13:37 
Generalmessaging in C# Pin
ppp00119-Oct-04 10:01
ppp00119-Oct-04 10:01 
GeneralRe: messaging in C# Pin
Heath Stewart19-Oct-04 15:46
protectorHeath Stewart19-Oct-04 15:46 
GeneralThreading -- Performance Pin
petst19-Oct-04 9:42
petst19-Oct-04 9:42 
GeneralRe: Threading -- Performance Pin
Salil Khedkar19-Oct-04 20:47
Salil Khedkar19-Oct-04 20:47 
GeneralRe: Threading -- Performance Pin
petst20-Oct-04 4:28
petst20-Oct-04 4:28 
GeneralSpecifying number of digits after decimal in a fixed-point formatted string Pin
DTWC_Lawrence19-Oct-04 9:40
DTWC_Lawrence19-Oct-04 9:40 
Hi,

Does anyone know of a way to specify the number of decimal places in a fixed-point formatted string in C#?

This is how I was doing it in VC++(6.0):

CString thisString;
double val = 12.3456789;
thisString.Format(_T("Format to 4 decimal places %.4f"), val);

Much thanks for any help!
B
GeneralRe: Specifying number of digits after decimal in a fixed-point formatted string Pin
Alex A. Miller19-Oct-04 9:57
Alex A. Miller19-Oct-04 9:57 
GeneralRe: Specifying number of digits after decimal in a fixed-point formatted string Pin
DTWC_Lawrence19-Oct-04 10:02
DTWC_Lawrence19-Oct-04 10:02 
GeneralRe: Specifying number of digits after decimal in a fixed-point formatted string Pin
Salil Khedkar19-Oct-04 21:17
Salil Khedkar19-Oct-04 21:17 
GeneralShrinking Toolbar images Pin
LannieK19-Oct-04 9:24
LannieK19-Oct-04 9:24 
GeneralRe: Shrinking Toolbar images Pin
Heath Stewart19-Oct-04 11:21
protectorHeath Stewart19-Oct-04 11:21 
GeneralRe: Shrinking Toolbar images Pin
LannieK20-Oct-04 2:23
LannieK20-Oct-04 2:23 
GeneralRe: Shrinking Toolbar images Pin
Heath Stewart20-Oct-04 5:20
protectorHeath Stewart20-Oct-04 5:20 
GeneralRe: Shrinking Toolbar images Pin
LannieK20-Oct-04 10:03
LannieK20-Oct-04 10:03 
General32 bit integer from sbyte array Pin
BrcKcc19-Oct-04 9:03
BrcKcc19-Oct-04 9:03 
GeneralRe: 32 bit integer from sbyte array Pin
Dies19-Oct-04 9:38
Dies19-Oct-04 9:38 
GeneralRe: 32 bit integer from sbyte array Pin
Christian Graus19-Oct-04 9:41
protectorChristian Graus19-Oct-04 9:41 
GeneralMSMQ in C# Pin
ppp00119-Oct-04 9:00
ppp00119-Oct-04 9:00 
GeneralRe: MSMQ in C# Pin
Heath Stewart19-Oct-04 11:17
protectorHeath Stewart19-Oct-04 11:17 
GeneralMCE SDK 2005 problem Pin
Oguz Mazlum19-Oct-04 7:48
Oguz Mazlum19-Oct-04 7:48 
GeneralRe: MCE SDK 2005 problem Pin
Heath Stewart19-Oct-04 11:12
protectorHeath Stewart19-Oct-04 11:12 
GeneralRe: MCE SDK 2005 problem Pin
Oguz Mazlum19-Oct-04 11:46
Oguz Mazlum19-Oct-04 11:46 
GeneralRe: MCE SDK 2005 problem Pin
Heath Stewart19-Oct-04 12:50
protectorHeath Stewart19-Oct-04 12:50 

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.