摘要: toFixed 四舍五入遇到坑。 1.235.toFixed(2) = 1.231.2350001.toFixed(2) = 1.24 //去尾法Number.prototype.toFloor = function (num) { return Math.floor(this * Math.pow 阅读全文
posted @ 2016-03-10 11:00 瓜尔佳 阅读(9588) 评论(0) 推荐(0)
摘要: -- 关闭自动编号SET IDENTITY_INSERT T OFF -- 这个时候就允许插入Id值了Insert Into T (Id,Name) Values (0,'test')-- 打开自动编号SET IDENTITY_INSERT T ON-- 这个时候就允许插入Id值了Insert In... 阅读全文
posted @ 2014-12-30 09:55 瓜尔佳 阅读(189) 评论(0) 推荐(0)