龙之家园  
我的博客我做主!

2007年7月3日

摘要: 1.bool exist = System.IO.Directory.Exists(cfg.XmlProductPath+@"\mobile\"); //判断文件夹是否存在2.Directory.CreateDirectory(cfg.XmlProductPath + @"\mobile\"); //创建mobile文件夹3.string[] dirs = null; dirs = Dire... 阅读全文
posted @ 2007-07-03 14:03 zhengfeng 阅读(568) 评论(0) 推荐(0)
 
摘要: public class CeilAndFloor {public static void main(String[] args) {/*这两个宝贝函数的主要任务是截掉小数以后的位数.区别是: floor总是把数字变得越来越小,而ceil总是把数字变大。其实名字可以理解floor是地板,ceil是天花板。*/System.out.println("==============Math.floor(... 阅读全文
posted @ 2007-07-03 10:22 zhengfeng 阅读(1631) 评论(2) 推荐(1)