zoukankan      html  css  js  c++  java
  • Delphi数据类型转换(有几个字符串函数没见过,比如StringToWideChar和WideCharToString)

    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字符串变量 

    http://blog.csdn.net/earbao/article/details/9112229

  • 相关阅读:
    ubuntu安装openssh-server 报依赖错误的解决过程
    LDA(Latent Dirichlet Allocation)主题模型算法
    ajax乱码
    virtualbox安装xp虚拟机缺少驱动
    mysql命令行操作
    hibernate本地验证
    mingw下的msys显示与输入乱码
    msys访问windows其他盘
    LeetCode 364. Nested List Weight Sum II
    LeetCode 535. Encode and Decode TinyURL
  • 原文地址:https://www.cnblogs.com/findumars/p/5338807.html
Copyright © 2011-2022 走看看