数据格式转换【Delphi版】

一、时间格式转换

    CurrentDateStr:=FormatDateTime('YYYYMMDD',NOW());//转换成字符串类型

二、数值格式转换

     Format('%.2f',[(strtoint(BankFundBalanceStr)/100.0)]);//转换成有两位小数的字符串类型


判断数据库中对象是否存在:select * from sysobjects where name='Bank_NewOrder'


整数、小数处理

http://www.cnblogs.com/JonyOang/archive/2010/05/13/1913628.html

原文地址:https://www.cnblogs.com/edisonfeng/p/2226203.html