I think this is a very simple question, but due i'm new to c++ and even newer to borland c++ , here i go:
How do i convert a input of a TEdit-field to a double ?
I searched a little and found this sample of code:
CString string;
double thedouble;
thedouble = atof((LPCSTR)string);
but i even can't define a cString (and yes, i already did "include <cstring.h>"
Is there anybody out there who can help me ?
Thanx in advanced,
Daniel ---------------------------------------
Visit me @:
How do i convert a input of a TEdit-field to a double ?
I searched a little and found this sample of code:
CString string;
double thedouble;
thedouble = atof((LPCSTR)string);
but i even can't define a cString (and yes, i already did "include <cstring.h>"
Is there anybody out there who can help me ?
Thanx in advanced,
Daniel ---------------------------------------
Visit me @: