Answers for "delphi check if string is number"

0

how to check if something is only numbers in delphi

if TryStrToInt(Edit1.Text, Value) then
  DoSomethingWithTheNumber(Value)
else
  HandleNotANumberError(Edit1.Text);
Posted by: Guest on March-08-2020

Code answers related to "delphi check if string is number"

Browse Popular Code Answers by Language