Subj : Re: String to double To : borland.public.cpp.borlandcpp From : john blackburn Date : Wed Apr 07 2004 06:58 pm Wayne A. King wrote: > On Wed, 07 Apr 2004 10:10:02 +0100, john blackburn > wrote: > >>I have a similar requirement for string conversion to int such as "3456". > > strtol() or strtoul() > > > -- > Wayne A. King > (waking@idirect.com, Wayne_A_King@compuserve.com) Wayne, Many thanks for your suggestions. I can probably get away with strtod() but strtol() and strtoul() are not portable to Unix/Linux. I may have to end up implementing the conversions myself. Again thanks for taking the time to help John .