[Lazarus] Stupid pascal question

Burkhard Carstens fpc at bcsoft.de
Fri Feb 29 20:42:14 CET 2008


Am Freitag, 29. Februar 2008 20:23 schrieb Dalton Calford:
> I have been reading and searching all the various bits of
> documentation I can find but I can not discover a method of
> converting an ansistring to a real.
>
> I was hoping for a function like Str2Real() or StrToReal() but I am
> having no luck.

try StrToFloat or StrToFloatDef

regards
 Burkhard




More information about the Lazarus mailing list