Registriert seit: 23. Jun 2003
416 Beiträge
Delphi 2006 Professional
|
Re: Zahlen Format Problem.
28. Dez 2003, 18:41
Delphi-Quellcode:
procedure DezKomma(s: String; var v: Single; var Code: Integer);
begin
Val(StringReplace(s, ',', '.', []);, v, Code);
end;
Nicht getestet, sollte aber funktionieren.
"Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking." (Dave Barry)
|