Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
Delphi 2006 Professional
|
Re: is_numeric control number
17. Jul 2006, 14:06
Delphi-Quellcode:
if not trystrtofloat(somestring,somefloat) then
Showmessage('Doh!');
// I knew i couldn't be the first one...
Lukas Erlacher Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
|