Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Digits to characters / date in text 1

Status
Not open for further replies.

19780308

Technical User
Nov 21, 2001
13
0
0
NO
Hallo,
Has anyone got a standard dll that would convert the amounts / dates from numeric format to text?
For example :
11.03.2003.
2003. year 11th March
235.35 EUR
Two hundred and thirty five euro, 35 cents
Any scripts for that available that could be used for compiling one?
Thanks in advance, :)
/ML
 
use function sprintf for both.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Hi, Ion!
Could you please help me with example of code?
Thanks, for your help!
Appreciated!
/ML
 
this is a sample of using sprintf:
char x[512];
float mn = 235.3523423432;
sprintf(x, "%.2f EUR", mn);

cout<< x<< endl;

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top