March 10th, 2003, 02:45 AM
Join Date: Jan 2003
Time spent in forums: < 1 sec
Reputation Power: 0
About Conversion java better then Visual C++???
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:
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:
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?