fptintf

  • Thread starter Thread starter Suranjith
  • Start date Start date
S

Suranjith

I want to format a float value to 999,999,999,999.99
format. (With commas in between and decimal point with 2
decimals)

Can somebody help me with this using fprintf(). I am using
VC++ 6.0
 
I want to format a float value to 999,999,999,999.99
format. (With commas in between and decimal point with 2
decimals)

Use the Win32 API GetNumberFormat to convert the floating point string
9999999999.99 to the locale format.

Dave
 
Back
Top