delphidelphi-xe3

How to convert String to LongInt in Delphi XE3?


How to convert String to LongInt in Delphi XE3? strtoInt & strToint64 are for variables of types less than LongInt.


Solution

  • The ...StrToInt...() overloads that work with Integer values will be fine. Integer and LongInt have the same byte size and value range on Windows.