Forum: Object-Pascal / Delphi-Language
Delphi
by DelphiManiac,
24. Jul 2007
Tja da hast du wohl recht :-)
Habe bei Leerzeichen schon aufgehört zu lesen.. :-)
if Text = 'Leerzeichen' then break;
Forum: Object-Pascal / Delphi-Language
Delphi
by DelphiManiac,
24. Jul 2007
Hallo,
setzt sich ein Enter aus <CR> <LF> zusammen?
Gruß DelphiManiac
Forum: Object-Pascal / Delphi-Language
Delphi
by DelphiManiac,
23. Jul 2007
Ja habe ich geschrieben:
GetLocaleFormatSettings(GetUserDefaultLCID, formatSettings);
formatSettings.DecimalSeparator := '.';
FMeasureFloat:=StrToFloat(Text,formatSettings);
Forum: Object-Pascal / Delphi-Language
Delphi
by DelphiManiac,
23. Jul 2007
@calculon:
aber ich setze doch das Trennzeichen schon auf Punkt anstatt Komma...
formatSettings.DecimalSeparator := '.';
komisch, komisch
Forum: Object-Pascal / Delphi-Language
Delphi
by DelphiManiac,
23. Jul 2007
Mmmh,
also ich biege das eigentlich schon um über die formatsettings:
GetLocaleFormatSettings(GetUserDefaultLCID, formatSettings);
formatSettings.DecimalSeparator := '.';
FMeasureFloat:=StrToFloat(Text,formatSettings);
Forum: Object-Pascal / Delphi-Language
Delphi
by DelphiManiac,
23. Jul 2007
Hallo,
ich habe folgendes Problem, ich bekomme einen String zurverfügung gestellt,
der folgendermaßen aussieht
'35.5E-03'
Diese Exponentendarstellung will ich als Fließkommawert haben, als double z.B.: