Delphi data type Conversion Function

Source: Internet
Author: User

A serious contempt for Delphi, the Help File writing is too bad.

The datetimetofiledate function converts the Delphi date format to the DOS date format.
The datetimetostr function converts the datetime format to a string.
The datetimetostring function converts the datetime format to a string.
The datetostr function converts the date format to a string.
The filedatetodatetime function converts the DOS date format to the Delphi date format.
The floattodecimal function converts a floating point number to a decimal number.
The floattostrf function converts a floating point number to a string.
The floattostr function converts a floating point number to a string.
The floattotext function converts a given floating point number to a decimal number.
The floattotextfmt function converts a given floating point number to a decimal number.
Inttohex converts an integer to a hexadecimal number.
Inttostr converts an integer to a string
The stringtowidechar function converts an ANSI string to a unicode string.
The strtodate function converts a string to a date format.
The strtodatetime function converts a string to the date/time format.
The strtofloat function converts a given string to a floating point number.
The strtoint function converts a string to an integer.
The strtointdef function converts a string to an integer or default value.
The strtotime function converts a string to a time format.
The texttofloat function converts a string (in the format ending with null) to a floating point number.
The timetostr function converts the time format to a string.
The vartodatetime function converts a given variant to the datetime type.
The widecharlentostring function converts an ANSI string to a unicode string.
The widechartostring function converts a unicode string to an ANSI string.
The widechartostrvar function converts a unicode string to an ANSI string variable.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.