Código
begin
if not TextToFloat(PChar(S), Result, fvExtended) then
Result := 0.0;
{ ConvertErrorFmt(SInvalidFloat, [S]);}
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009