
March 10th, 2003, 02:45 AM
|
|
Junior Member
|
|
Join Date: Jan 2003
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
About Conversion java better then Visual C++???
Good Morning,
I am using Visual C++ 6 and I need to convert a double in to a string in order to assign its value to a specified variable that is a string.
I know that in C++ there is a function call:
_ecvt()
that converts a double in to a string but delete the comma and the sign!
x=-3.14 becames str = 314.
I know also that in Java there is a function:
Double.toString()
that does exactly what i would like!
I cannot believe that in C++ there is not a function like that!
I think i would have to create it!
What do you think?
Thank you
Dado
|