delphi数据类型转换函数

时间:2022-11-19 04:47:13

严重的鄙视Delphi,帮助文件写的太烂了。

    DateTimeToFileDate                  函数                     将DELPHI的日期格式转换为DOS的日期格式     
    DateTimeToStr                          函数                     将日期时间格式转换为字符串     
    DateTimeToString                      函数                     将日期时间格式转换为字符串     
    DateToStr                                  函数                     将日期格式转换为字符串     
    FileDateToDateTime                 函数                     将DOS的日期格式转换为DELPHI的日期格式     
    FloatToDecimal                          函数                     将浮点数转换为十进制数     
    FloatToStrF                                函数                     将浮点数转换为字符串     
    FloatToStr                                  函数                     将浮点数转换为字符串     
    FloatToText                                函数                     将给定的浮点数转换为十进制数     
    FloatToTextFmt                          函数                     将给定的浮点数转换为十进制数     
    IntToHex                                                                     将整型数转换为十六进制数     
    IntToStr                                                                     将整型数转换为字符串     
    StringToWideChar                           函数                     将ANSI字符串转换为UNICODE字符串     
    StrToDate                                         函数                     将字符串转换为日期格式     
    StrToDateTime                                 函数                     将字符串转换为日期/时间格式     
    StrToFloat                                       函数                     将给定的字符串转换为浮点数     
    StrToInt                                           函数                     将字符串转换为整型     
    StrToIntDef                                     函数                     将字符串转换为整型或默认值     
    StrToTime                                      函数                     将字符串转换为时间格式     
    TextToFloat                               函数                     将字符串(以NULL结束的格式)转换为浮点数     
    TimeToStr                                         函数                     将时间格式转换为字符串   
    VarToDateTime                                 函数                     将给定的变体转换为日期时间     
    WideCharLenToString                     函数                     将ANSI字符串转换为UNICODE字符串     
    WideCharToString                           函数                     将UNICODE字符串转换为ANSI字符串     
    WideCharToStrVar                           函数                     将UNICODE字符串转换为ANSI字符串变量