Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#5

Re: Überprüfen, ob Variable einem gewissen Typ entspricht

  Alt 21. Mai 2007, 17:32
Hi,

Wie wärs damit?

Delphi-Quellcode:
if pos(',',Edit1.Text) = 0 then
  ManDarfKommaSetzen;
Das find ich einfacher als TryStrToFloat oder so.

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat