Long into to string - is StrToInt() safe?
I have a long int which represents a Unxi timestamp and want to use a string re开发者_如何学编程presentation of it.
Using IntToStr() works, but worries me because it doesn't say long. Maybe I should use sprintf() instead?
I believe you meant IntToStr() rather than StrToInt(), and it appears to be overloaded and therefore safe. For the other way around there is StrToInt64().
Delphi Basics : IntToStr command
加载中,请稍侯......
精彩评论