Answers for "how to check if something is only numbers in delphi"

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 "how to check if something is only numbers in delphi"

Browse Popular Code Answers by Language